#a12021
a dark, vivid red · warm · closest name: firebrick
RGB
161, 32, 33
HSL
360°, 67%, 38%
CMYK
0, 80, 80, 37
Luminance
0.0872
Every format
| HEX | #a12021 |
| RGB | rgb(161, 32, 33) |
| HSL | hsl(360, 67%, 38%) |
| CMYK | cmyk(0%, 80%, 80%, 37%) |
| LAB | lab(35.4 51.4 33.4) |
| LCH | lch(35.4 61.3 33.0) |
| OKLCH | oklch(0.463 0.165 26.2) |
Copy-ready code
/* CSS */
color: #a12021;
background-color: #a12021;
/* Tailwind (arbitrary) */
class="text-[#a12021] bg-[#a12021]"
/* SCSS */
$brand: #a12021;
/* SwiftUI */
Color(red: 0.631, green: 0.125, blue: 0.129)
/* Android */
Color.parseColor("#a12021")Accessibility — WCAG contrast
Aa
#a12021 on white: 7.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a12021 on black: 2.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.1%
Green12.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta80.1%
Yellow79.5%
Key (black)36.9%
Color previews
#a12021 text on a black background
contrast 2.74:1
Card sample
#a12021 text on a white background
contrast 7.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a12021;
Background color
Panel with #a12021 background
background-color: #a12021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a12021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(161, 32, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(161, 32, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a12021; background: linear-gradient(135deg, #a12021, #A17520);