#ad2f13
a dark, electric red · warm · closest name: firebrick
RGB
173, 47, 19
HSL
11°, 80%, 38%
CMYK
0, 73, 89, 32
Luminance
0.1096
Every format
| HEX | #ad2f13 |
| RGB | rgb(173, 47, 19) |
| HSL | hsl(11, 80%, 38%) |
| CMYK | cmyk(0%, 73%, 89%, 32%) |
| LAB | lab(39.5 49.8 45.1) |
| LCH | lch(39.5 67.2 42.2) |
| OKLCH | oklch(0.498 0.167 33.6) |
Copy-ready code
/* CSS */
color: #ad2f13;
background-color: #ad2f13;
/* Tailwind (arbitrary) */
class="text-[#ad2f13] bg-[#ad2f13]"
/* SCSS */
$brand: #ad2f13;
/* SwiftUI */
Color(red: 0.678, green: 0.184, blue: 0.075)
/* Android */
Color.parseColor("#ad2f13")Accessibility — WCAG contrast
Aa
#ad2f13 on white: 6.58:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ad2f13 on black: 3.19:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green18.4%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta72.8%
Yellow89.0%
Key (black)32.2%
Color previews
#ad2f13 text on a black background
contrast 3.19:1
Card sample
#ad2f13 text on a white background
contrast 6.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad2f13;
Background color
Panel with #ad2f13 background
background-color: #ad2f13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad2f13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 47, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 47, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2f13; background: linear-gradient(135deg, #ad2f13, #AD9513);