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