#a52c21
a dark, vivid red · warm · closest name: firebrick
RGB
165, 44, 33
HSL
5°, 67%, 39%
CMYK
0, 73, 80, 35
Luminance
0.0991
Every format
| HEX | #a52c21 |
| RGB | rgb(165, 44, 33) |
| HSL | hsl(5, 67%, 39%) |
| CMYK | cmyk(0%, 73%, 80%, 35%) |
| LAB | lab(37.7 48.6 35.9) |
| LCH | lch(37.7 60.4 36.5) |
| OKLCH | oklch(0.481 0.159 29.4) |
Copy-ready code
/* CSS */
color: #a52c21;
background-color: #a52c21;
/* Tailwind (arbitrary) */
class="text-[#a52c21] bg-[#a52c21]"
/* SCSS */
$brand: #a52c21;
/* SwiftUI */
Color(red: 0.647, green: 0.173, blue: 0.129)
/* Android */
Color.parseColor("#a52c21")Accessibility — WCAG contrast
Aa
#a52c21 on white: 7.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a52c21 on black: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.7%
Green17.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta73.3%
Yellow80.0%
Key (black)35.3%
Color previews
#a52c21 text on a black background
contrast 2.98:1
Card sample
#a52c21 text on a white background
contrast 7.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a52c21;
Background color
Panel with #a52c21 background
background-color: #a52c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a52c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(165, 44, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 44, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a52c21; background: linear-gradient(135deg, #a52c21, #A58421);