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