#ac2221
a dark, vivid red · warm · “firebrick”
RGB
172, 34, 33
HSL
0°, 68%, 40%
CMYK
0, 80, 81, 33
Luminance
0.1002
Every format
| HEX | #ac2221 |
| RGB | rgb(172, 34, 33) |
| HSL | hsl(0, 68%, 40%) |
| CMYK | cmyk(0%, 80%, 81%, 33%) |
| LAB | lab(37.9 54.1 36.6) |
| LCH | lch(37.9 65.3 34.1) |
| OKLCH | oklch(0.485 0.174 27.0) |
Copy-ready code
/* CSS */
color: #ac2221;
background-color: #ac2221;
/* Tailwind (arbitrary) */
class="text-[#ac2221] bg-[#ac2221]"
/* SCSS */
$brand: #ac2221;
/* SwiftUI */
Color(red: 0.675, green: 0.133, blue: 0.129)
/* Android */
Color.parseColor("#ac2221")Accessibility — WCAG contrast
Aa
#ac2221 on white: 6.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac2221 on black: 3.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green13.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta80.2%
Yellow80.8%
Key (black)32.5%
Color previews
#ac2221 text on a black background
contrast 3.00:1
Card sample
#ac2221 text on a white background
contrast 6.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac2221;
Background color
Panel with #ac2221 background
background-color: #ac2221;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac2221;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 34, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 34, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac2221; background: linear-gradient(135deg, #ac2221, #AC7F21);