Skip to content

#ad1f21

a dark, vivid red · warm · “firebrick”

RGB
173, 31, 33
HSL
359°, 70%, 40%
CMYK
0, 82, 81, 32
Luminance
0.0997

Every format

HEX#ad1f21
RGBrgb(173, 31, 33)
HSLhsl(359, 70%, 40%)
CMYKcmyk(0%, 82%, 81%, 32%)
LABlab(37.8 55.2 36.6)
LCHlch(37.8 66.2 33.5)
OKLCHoklch(0.485 0.177 26.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad1f21 on white: 7.01:1
AA ✓ pass · AA-large · AAA
Aa
#ad1f21 on black: 2.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green12.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow80.9%
Key (black)32.2%

Color previews

#ad1f21 text on a black background

contrast 2.99:1

Card sample

#ad1f21 text on a white background

contrast 7.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad1f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad1f21 in the Color Lab