#a52921
a dark, vivid red · warm · closest name: firebrick
RGB
165, 41, 33
HSL
4°, 67%, 39%
CMYK
0, 75, 80, 35
Luminance
0.0970
Every format
| HEX | #a52921 |
| RGB | rgb(165, 41, 33) |
| HSL | hsl(4, 67%, 39%) |
| CMYK | cmyk(0%, 75%, 80%, 35%) |
| LAB | lab(37.3 49.7 35.5) |
| LCH | lch(37.3 61.1 35.6) |
| OKLCH | oklch(0.478 0.162 28.5) |
Copy-ready code
/* CSS */
color: #a52921;
background-color: #a52921;
/* Tailwind (arbitrary) */
class="text-[#a52921] bg-[#a52921]"
/* SCSS */
$brand: #a52921;
/* SwiftUI */
Color(red: 0.647, green: 0.161, blue: 0.129)
/* Android */
Color.parseColor("#a52921")Accessibility — WCAG contrast
Aa
#a52921 on white: 7.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a52921 on black: 2.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.7%
Green16.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta75.2%
Yellow80.0%
Key (black)35.3%
Color previews
#a52921 text on a black background
contrast 2.94:1
Card sample
#a52921 text on a white background
contrast 7.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a52921;
Background color
Panel with #a52921 background
background-color: #a52921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a52921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(165, 41, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 41, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a52921; background: linear-gradient(135deg, #a52921, #A58121);