#a62d21
a dark, vivid red · warm · closest name: firebrick
RGB
166, 45, 33
HSL
5°, 67%, 39%
CMYK
0, 73, 80, 35
Luminance
0.1009
Every format
| HEX | #a62d21 |
| RGB | rgb(166, 45, 33) |
| HSL | hsl(5, 67%, 39%) |
| CMYK | cmyk(0%, 73%, 80%, 35%) |
| LAB | lab(38.0 48.6 36.3) |
| LCH | lch(38.0 60.6 36.8) |
| OKLCH | oklch(0.484 0.159 29.7) |
Copy-ready code
/* CSS */
color: #a62d21;
background-color: #a62d21;
/* Tailwind (arbitrary) */
class="text-[#a62d21] bg-[#a62d21]"
/* SCSS */
$brand: #a62d21;
/* SwiftUI */
Color(red: 0.651, green: 0.176, blue: 0.129)
/* Android */
Color.parseColor("#a62d21")Accessibility — WCAG contrast
Aa
#a62d21 on white: 6.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a62d21 on black: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green17.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta72.9%
Yellow80.1%
Key (black)34.9%
Color previews
#a62d21 text on a black background
contrast 3.02:1
Card sample
#a62d21 text on a white background
contrast 6.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a62d21;
Background color
Panel with #a62d21 background
background-color: #a62d21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a62d21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 45, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 45, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a62d21; background: linear-gradient(135deg, #a62d21, #A68621);