Skip to content

#ad2e1f

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

RGB
173, 46, 31
HSL
6°, 70%, 40%
CMYK
0, 73, 82, 32
Luminance
0.1094

Every format

HEX#ad2e1f
RGBrgb(173, 46, 31)
HSLhsl(6, 70%, 40%)
CMYKcmyk(0%, 73%, 82%, 32%)
LABlab(39.5 50.4 39.3)
LCHlch(39.5 63.9 37.9)
OKLCHoklch(0.498 0.166 30.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green18.0%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta73.4%
Yellow82.1%
Key (black)32.2%

Color previews

#ad2e1f text on a black background

contrast 3.19:1

Card sample

#ad2e1f text on a white background

contrast 6.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2e1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2e1f in the Color Lab