#a61221
a dark, electric red · warm · closest name: firebrick
RGB
166, 18, 33
HSL
354°, 80%, 36%
CMYK
0, 89, 80, 35
Luminance
0.0865
Every format
| HEX | #a61221 |
| RGB | rgb(166, 18, 33) |
| HSL | hsl(354, 80%, 36%) |
| CMYK | cmyk(0%, 89%, 80%, 35%) |
| LAB | lab(35.3 56.2 33.5) |
| LCH | lch(35.3 65.4 30.8) |
| OKLCH | oklch(0.464 0.178 24.1) |
Copy-ready code
/* CSS */
color: #a61221;
background-color: #a61221;
/* Tailwind (arbitrary) */
class="text-[#a61221] bg-[#a61221]"
/* SCSS */
$brand: #a61221;
/* SwiftUI */
Color(red: 0.651, green: 0.071, blue: 0.129)
/* Android */
Color.parseColor("#a61221")Accessibility — WCAG contrast
Aa
#a61221 on white: 7.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a61221 on black: 2.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green7.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta89.2%
Yellow80.1%
Key (black)34.9%
Color previews
#a61221 text on a black background
contrast 2.73:1
Card sample
#a61221 text on a white background
contrast 7.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a61221;
Background color
Panel with #a61221 background
background-color: #a61221;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a61221;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 18, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 18, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a61221; background: linear-gradient(135deg, #a61221, #A66612);