Skip to content

#ad2f0c

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

RGB
173, 47, 12
HSL
13°, 87%, 36%
CMYK
0, 73, 93, 32
Luminance
0.1094

Every format

HEX#ad2f0c
RGBrgb(173, 47, 12)
HSLhsl(13, 87%, 36%)
CMYKcmyk(0%, 73%, 93%, 32%)
LABlab(39.5 49.6 47.8)
LCHlch(39.5 68.9 43.9)
OKLCHoklch(0.497 0.168 34.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green18.4%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta72.8%
Yellow93.1%
Key (black)32.2%

Color previews

#ad2f0c text on a black background

contrast 3.19:1

Card sample

#ad2f0c text on a white background

contrast 6.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2f0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2f0c in the Color Lab