#a82621
a dark, vivid red · warm · closest name: firebrick
RGB
168, 38, 33
HSL
2°, 67%, 39%
CMYK
0, 77, 80, 34
Luminance
0.0982
Every format
| HEX | #a82621 |
| RGB | rgb(168, 38, 33) |
| HSL | hsl(2, 67%, 39%) |
| CMYK | cmyk(0%, 77%, 80%, 34%) |
| LAB | lab(37.5 51.7 36.0) |
| LCH | lch(37.5 62.9 34.8) |
| OKLCH | oklch(0.481 0.167 27.8) |
Copy-ready code
/* CSS */
color: #a82621;
background-color: #a82621;
/* Tailwind (arbitrary) */
class="text-[#a82621] bg-[#a82621]"
/* SCSS */
$brand: #a82621;
/* SwiftUI */
Color(red: 0.659, green: 0.149, blue: 0.129)
/* Android */
Color.parseColor("#a82621")Accessibility — WCAG contrast
Aa
#a82621 on white: 7.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a82621 on black: 2.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green14.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta77.4%
Yellow80.4%
Key (black)34.1%
Color previews
#a82621 text on a black background
contrast 2.96:1
Card sample
#a82621 text on a white background
contrast 7.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a82621;
Background color
Panel with #a82621 background
background-color: #a82621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a82621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 38, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 38, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a82621; background: linear-gradient(135deg, #a82621, #A88021);