#a82a21
a dark, vivid red · warm · closest name: firebrick
RGB
168, 42, 33
HSL
4°, 67%, 39%
CMYK
0, 75, 80, 34
Luminance
0.1009
Every format
| HEX | #a82a21 |
| RGB | rgb(168, 42, 33) |
| HSL | hsl(4, 67%, 39%) |
| CMYK | cmyk(0%, 75%, 80%, 34%) |
| LAB | lab(38.0 50.3 36.4) |
| LCH | lch(38.0 62.1 35.9) |
| OKLCH | oklch(0.485 0.164 28.8) |
Copy-ready code
/* CSS */
color: #a82a21;
background-color: #a82a21;
/* Tailwind (arbitrary) */
class="text-[#a82a21] bg-[#a82a21]"
/* SCSS */
$brand: #a82a21;
/* SwiftUI */
Color(red: 0.659, green: 0.165, blue: 0.129)
/* Android */
Color.parseColor("#a82a21")Accessibility — WCAG contrast
Aa
#a82a21 on white: 6.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#a82a21 on black: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green16.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta75.0%
Yellow80.4%
Key (black)34.1%
Color previews
#a82a21 text on a black background
contrast 3.02:1
Card sample
#a82a21 text on a white background
contrast 6.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a82a21;
Background color
Panel with #a82a21 background
background-color: #a82a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a82a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 42, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 42, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a82a21; background: linear-gradient(135deg, #a82a21, #A88421);