#a60021
a dark, electric red · warm · closest name: firebrick
RGB
166, 0, 33
HSL
348°, 100%, 33%
CMYK
0, 100, 80, 35
Luminance
0.0822
Every format
| HEX | #a60021 |
| RGB | rgb(166, 0, 33) |
| HSL | hsl(348, 100%, 33%) |
| CMYK | cmyk(0%, 100%, 80%, 35%) |
| LAB | lab(34.4 58.7 32.6) |
| LCH | lch(34.4 67.2 29.1) |
| OKLCH | oklch(0.458 0.185 22.6) |
Copy-ready code
/* CSS */
color: #a60021;
background-color: #a60021;
/* Tailwind (arbitrary) */
class="text-[#a60021] bg-[#a60021]"
/* SCSS */
$brand: #a60021;
/* SwiftUI */
Color(red: 0.651, green: 0.000, blue: 0.129)
/* Android */
Color.parseColor("#a60021")Accessibility — WCAG contrast
Aa
#a60021 on white: 7.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a60021 on black: 2.64:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green0.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow80.1%
Key (black)34.9%
Color previews
#a60021 text on a black background
contrast 2.64:1
Card sample
#a60021 text on a white background
contrast 7.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a60021;
Background color
Panel with #a60021 background
background-color: #a60021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a60021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 0, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 0, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a60021; background: linear-gradient(135deg, #a60021, #A64E00);