Skip to content

#ad2f21

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

RGB
173, 47, 33
HSL
6°, 68%, 40%
CMYK
0, 73, 81, 32
Luminance
0.1103

Every format

HEX#ad2f21
RGBrgb(173, 47, 33)
HSLhsl(6, 68%, 40%)
CMYKcmyk(0%, 73%, 81%, 32%)
LABlab(39.6 50.1 38.4)
LCHlch(39.6 63.1 37.4)
OKLCHoklch(0.499 0.165 30.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2f21 on white: 6.55:1
AA ✓ pass · AA-large · AAA
Aa
#ad2f21 on black: 3.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta72.8%
Yellow80.9%
Key (black)32.2%

Color previews

#ad2f21 text on a black background

contrast 3.21:1

Card sample

#ad2f21 text on a white background

contrast 6.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2f21 in the Color Lab