Skip to content

#aa2c21

a dark, vivid red · warm · closest name: firebrick

RGB
170, 44, 33
HSL
5°, 68%, 40%
CMYK
0, 74, 81, 33
Luminance
0.1046

Every format

HEX#aa2c21
RGBrgb(170, 44, 33)
HSLhsl(5, 68%, 40%)
CMYKcmyk(0%, 74%, 81%, 33%)
LABlab(38.7 50.2 37.2)
LCHlch(38.7 62.5 36.5)
OKLCHoklch(0.490 0.164 29.3)

Copy-ready code

/* CSS */
color: #aa2c21;
background-color: #aa2c21;
/* Tailwind (arbitrary) */
class="text-[#aa2c21] bg-[#aa2c21]"
/* SCSS */
$brand: #aa2c21;
/* SwiftUI */
Color(red: 0.667, green: 0.173, blue: 0.129)
/* Android */
Color.parseColor("#aa2c21")

Accessibility — WCAG contrast

Aa
#aa2c21 on white: 6.79:1
AA ✓ pass · AA-large · AAA
Aa
#aa2c21 on black: 3.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green17.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta74.1%
Yellow80.6%
Key (black)33.3%

Color previews

#aa2c21 text on a black background

contrast 3.09:1

Card sample

#aa2c21 text on a white background

contrast 6.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #aa2c21;
Background color
Panel with #aa2c21 background
background-color: #aa2c21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #aa2c21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(170, 44, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 44, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa2c21;
background: linear-gradient(135deg, #aa2c21, #AA8721);

Monochromatic scale

Palettes built from #aa2c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa2c21 in the Color Lab