#ac2421
a dark, vivid red · warm · closest name: firebrick
RGB
172, 36, 33
HSL
1°, 68%, 40%
CMYK
0, 79, 81, 33
Luminance
0.1014
Every format
| HEX | #ac2421 |
| RGB | rgb(172, 36, 33) |
| HSL | hsl(1, 68%, 40%) |
| CMYK | cmyk(0%, 79%, 81%, 33%) |
| LAB | lab(38.1 53.5 36.8) |
| LCH | lch(38.1 64.9 34.5) |
| OKLCH | oklch(0.487 0.173 27.4) |
Copy-ready code
/* CSS */
color: #ac2421;
background-color: #ac2421;
/* Tailwind (arbitrary) */
class="text-[#ac2421] bg-[#ac2421]"
/* SCSS */
$brand: #ac2421;
/* SwiftUI */
Color(red: 0.675, green: 0.141, blue: 0.129)
/* Android */
Color.parseColor("#ac2421")Accessibility — WCAG contrast
Aa
#ac2421 on white: 6.93:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac2421 on black: 3.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green14.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta79.1%
Yellow80.8%
Key (black)32.5%
Color previews
#ac2421 text on a black background
contrast 3.03:1
Card sample
#ac2421 text on a white background
contrast 6.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac2421;
Background color
Panel with #ac2421 background
background-color: #ac2421;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac2421;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 36, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 36, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac2421; background: linear-gradient(135deg, #ac2421, #AC8121);