#aa2921
a dark, vivid red · warm · closest name: firebrick
RGB
170, 41, 33
HSL
4°, 68%, 40%
CMYK
0, 76, 81, 33
Luminance
0.1024
Every format
| HEX | #aa2921 |
| RGB | rgb(170, 41, 33) |
| HSL | hsl(4, 68%, 40%) |
| CMYK | cmyk(0%, 76%, 81%, 33%) |
| LAB | lab(38.3 51.3 36.8) |
| LCH | lch(38.3 63.1 35.7) |
| OKLCH | oklch(0.488 0.167 28.5) |
Copy-ready code
/* CSS */
color: #aa2921;
background-color: #aa2921;
/* Tailwind (arbitrary) */
class="text-[#aa2921] bg-[#aa2921]"
/* SCSS */
$brand: #aa2921;
/* SwiftUI */
Color(red: 0.667, green: 0.161, blue: 0.129)
/* Android */
Color.parseColor("#aa2921")Accessibility — WCAG contrast
Aa
#aa2921 on white: 6.89:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#aa2921 on black: 3.05:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green16.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta75.9%
Yellow80.6%
Key (black)33.3%
Color previews
#aa2921 text on a black background
contrast 3.05:1
Card sample
#aa2921 text on a white background
contrast 6.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa2921;
Background color
Panel with #aa2921 background
background-color: #aa2921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa2921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 41, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 41, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa2921; background: linear-gradient(135deg, #aa2921, #AA8421);