#ac2021
a dark, vivid red · warm · “firebrick”
RGB
172, 32, 33
HSL
360°, 69%, 40%
CMYK
0, 81, 81, 33
Luminance
0.0991
Every format
| HEX | #ac2021 |
| RGB | rgb(172, 32, 33) |
| HSL | hsl(360, 69%, 40%) |
| CMYK | cmyk(0%, 81%, 81%, 33%) |
| LAB | lab(37.7 54.7 36.4) |
| LCH | lch(37.7 65.7 33.6) |
| OKLCH | oklch(0.484 0.175 26.6) |
Copy-ready code
/* CSS */
color: #ac2021;
background-color: #ac2021;
/* Tailwind (arbitrary) */
class="text-[#ac2021] bg-[#ac2021]"
/* SCSS */
$brand: #ac2021;
/* SwiftUI */
Color(red: 0.675, green: 0.125, blue: 0.129)
/* Android */
Color.parseColor("#ac2021")Accessibility — WCAG contrast
Aa
#ac2021 on white: 7.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#ac2021 on black: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green12.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta81.4%
Yellow80.8%
Key (black)32.5%
Color previews
#ac2021 text on a black background
contrast 2.98:1
Card sample
#ac2021 text on a white background
contrast 7.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac2021;
Background color
Panel with #ac2021 background
background-color: #ac2021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac2021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 32, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 32, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac2021; background: linear-gradient(135deg, #ac2021, #AC7C20);