#ac1621
a dark, electric red · warm · closest name: firebrick
RGB
172, 22, 33
HSL
356°, 77%, 38%
CMYK
0, 87, 81, 33
Luminance
0.0945
Every format
| HEX | #ac1621 |
| RGB | rgb(172, 22, 33) |
| HSL | hsl(356, 77%, 38%) |
| CMYK | cmyk(0%, 87%, 81%, 33%) |
| LAB | lab(36.9 57.1 35.5) |
| LCH | lch(36.9 67.2 31.9) |
| OKLCH | oklch(0.478 0.181 25.0) |
Copy-ready code
/* CSS */
color: #ac1621;
background-color: #ac1621;
/* Tailwind (arbitrary) */
class="text-[#ac1621] bg-[#ac1621]"
/* SCSS */
$brand: #ac1621;
/* SwiftUI */
Color(red: 0.675, green: 0.086, blue: 0.129)
/* Android */
Color.parseColor("#ac1621")Accessibility — WCAG contrast
Aa
#ac1621 on white: 7.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#ac1621 on black: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green8.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta87.2%
Yellow80.8%
Key (black)32.5%
Color previews
#ac1621 text on a black background
contrast 2.89:1
Card sample
#ac1621 text on a white background
contrast 7.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac1621;
Background color
Panel with #ac1621 background
background-color: #ac1621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac1621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 22, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 22, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac1621; background: linear-gradient(135deg, #ac1621, #AC6F16);