#a60d21
a dark, electric red · warm · closest name: firebrick
RGB
166, 13, 33
HSL
352°, 86%, 35%
CMYK
0, 92, 80, 35
Luminance
0.0850
Every format
| HEX | #a60d21 |
| RGB | rgb(166, 13, 33) |
| HSL | hsl(352, 86%, 35%) |
| CMYK | cmyk(0%, 92%, 80%, 35%) |
| LAB | lab(35.0 57.0 33.2) |
| LCH | lch(35.0 66.0 30.2) |
| OKLCH | oklch(0.462 0.180 23.6) |
Copy-ready code
/* CSS */
color: #a60d21;
background-color: #a60d21;
/* Tailwind (arbitrary) */
class="text-[#a60d21] bg-[#a60d21]"
/* SCSS */
$brand: #a60d21;
/* SwiftUI */
Color(red: 0.651, green: 0.051, blue: 0.129)
/* Android */
Color.parseColor("#a60d21")Accessibility — WCAG contrast
Aa
#a60d21 on white: 7.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a60d21 on black: 2.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green5.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta92.2%
Yellow80.1%
Key (black)34.9%
Color previews
#a60d21 text on a black background
contrast 2.70:1
Card sample
#a60d21 text on a white background
contrast 7.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a60d21;
Background color
Panel with #a60d21 background
background-color: #a60d21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a60d21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 13, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 13, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a60d21; background: linear-gradient(135deg, #a60d21, #A65F0D);