#a20121
a dark, electric red · warm · closest name: firebrick
RGB
162, 1, 33
HSL
348°, 99%, 32%
CMYK
0, 99, 80, 37
Luminance
0.0781
Every format
| HEX | #a20121 |
| RGB | rgb(162, 1, 33) |
| HSL | hsl(348, 99%, 32%) |
| CMYK | cmyk(0%, 99%, 80%, 37%) |
| LAB | lab(33.6 57.5 31.5) |
| LCH | lch(33.6 65.6 28.7) |
| OKLCH | oklch(0.450 0.181 22.3) |
Copy-ready code
/* CSS */
color: #a20121;
background-color: #a20121;
/* Tailwind (arbitrary) */
class="text-[#a20121] bg-[#a20121]"
/* SCSS */
$brand: #a20121;
/* SwiftUI */
Color(red: 0.635, green: 0.004, blue: 0.129)
/* Android */
Color.parseColor("#a20121")Accessibility — WCAG contrast
Aa
#a20121 on white: 8.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a20121 on black: 2.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green0.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta99.4%
Yellow79.6%
Key (black)36.5%
Color previews
#a20121 text on a black background
contrast 2.56:1
Card sample
#a20121 text on a white background
contrast 8.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a20121;
Background color
Panel with #a20121 background
background-color: #a20121;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a20121;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 1, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 1, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a20121; background: linear-gradient(135deg, #a20121, #A24C01);