#ad1821
a dark, electric red · warm · closest name: firebrick
RGB
173, 24, 33
HSL
356°, 76%, 39%
CMYK
0, 86, 81, 32
Luminance
0.0965
Every format
| HEX | #ad1821 |
| RGB | rgb(173, 24, 33) |
| HSL | hsl(356, 76%, 39%) |
| CMYK | cmyk(0%, 86%, 81%, 32%) |
| LAB | lab(37.2 56.9 36.0) |
| LCH | lch(37.2 67.3 32.3) |
| OKLCH | oklch(0.481 0.181 25.3) |
Copy-ready code
/* CSS */
color: #ad1821;
background-color: #ad1821;
/* Tailwind (arbitrary) */
class="text-[#ad1821] bg-[#ad1821]"
/* SCSS */
$brand: #ad1821;
/* SwiftUI */
Color(red: 0.678, green: 0.094, blue: 0.129)
/* Android */
Color.parseColor("#ad1821")Accessibility — WCAG contrast
Aa
#ad1821 on white: 7.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#ad1821 on black: 2.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green9.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta86.1%
Yellow80.9%
Key (black)32.2%
Color previews
#ad1821 text on a black background
contrast 2.93:1
Card sample
#ad1821 text on a white background
contrast 7.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad1821;
Background color
Panel with #ad1821 background
background-color: #ad1821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad1821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 24, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 24, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad1821; background: linear-gradient(135deg, #ad1821, #AD7218);