Skip to content

#aa2f40

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

RGB
170, 47, 64
HSL
352°, 57%, 43%
CMYK
0, 72, 62, 33
Luminance
0.1095

Every format

HEX#aa2f40
RGBrgb(170, 47, 64)
HSLhsl(352, 57%, 43%)
CMYKcmyk(0%, 72%, 62%, 33%)
LABlab(39.5 50.7 19.6)
LCHlch(39.5 54.3 21.2)
OKLCHoklch(0.498 0.158 17.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa2f40 on white: 6.58:1
AA ✓ pass · AA-large · AAA
Aa
#aa2f40 on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green18.4%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta72.4%
Yellow62.4%
Key (black)33.3%

Color previews

#aa2f40 text on a black background

contrast 3.19:1

Card sample

#aa2f40 text on a white background

contrast 6.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa2f40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa2f40 in the Color Lab