#a62821
a dark, vivid red · warm · closest name: firebrick
RGB
166, 40, 33
HSL
3°, 67%, 39%
CMYK
0, 76, 80, 35
Luminance
0.0973
Every format
| HEX | #a62821 |
| RGB | rgb(166, 40, 33) |
| HSL | hsl(3, 67%, 39%) |
| CMYK | cmyk(0%, 76%, 80%, 35%) |
| LAB | lab(37.4 50.4 35.7) |
| LCH | lch(37.4 61.7 35.3) |
| OKLCH | oklch(0.479 0.164 28.3) |
Copy-ready code
/* CSS */
color: #a62821;
background-color: #a62821;
/* Tailwind (arbitrary) */
class="text-[#a62821] bg-[#a62821]"
/* SCSS */
$brand: #a62821;
/* SwiftUI */
Color(red: 0.651, green: 0.157, blue: 0.129)
/* Android */
Color.parseColor("#a62821")Accessibility — WCAG contrast
Aa
#a62821 on white: 7.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a62821 on black: 2.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green15.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta75.9%
Yellow80.1%
Key (black)34.9%
Color previews
#a62821 text on a black background
contrast 2.95:1
Card sample
#a62821 text on a white background
contrast 7.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a62821;
Background color
Panel with #a62821 background
background-color: #a62821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a62821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 40, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 40, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a62821; background: linear-gradient(135deg, #a62821, #A68121);