#aa0021
a dark, electric red · warm · closest name: firebrick
RGB
170, 0, 33
HSL
348°, 100%, 33%
CMYK
0, 100, 81, 33
Luminance
0.0866
Every format
| HEX | #aa0021 |
| RGB | rgb(170, 0, 33) |
| HSL | hsl(348, 100%, 33%) |
| CMYK | cmyk(0%, 100%, 81%, 33%) |
| LAB | lab(35.3 59.7 33.8) |
| LCH | lch(35.3 68.6 29.5) |
| OKLCH | oklch(0.466 0.188 22.9) |
Copy-ready code
/* CSS */
color: #aa0021;
background-color: #aa0021;
/* Tailwind (arbitrary) */
class="text-[#aa0021] bg-[#aa0021]"
/* SCSS */
$brand: #aa0021;
/* SwiftUI */
Color(red: 0.667, green: 0.000, blue: 0.129)
/* Android */
Color.parseColor("#aa0021")Accessibility — WCAG contrast
Aa
#aa0021 on white: 7.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#aa0021 on black: 2.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green0.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow80.6%
Key (black)33.3%
Color previews
#aa0021 text on a black background
contrast 2.73:1
Card sample
#aa0021 text on a white background
contrast 7.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa0021;
Background color
Panel with #aa0021 background
background-color: #aa0021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa0021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 0, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 0, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa0021; background: linear-gradient(135deg, #aa0021, #AA5000);