#a81c21
a dark, vivid red · warm · closest name: firebrick
RGB
168, 28, 33
HSL
358°, 71%, 38%
CMYK
0, 83, 80, 34
Luminance
0.0927
Every format
| HEX | #a81c21 |
| RGB | rgb(168, 28, 33) |
| HSL | hsl(358, 71%, 38%) |
| CMYK | cmyk(0%, 83%, 80%, 34%) |
| LAB | lab(36.5 54.6 34.9) |
| LCH | lch(36.5 64.8 32.6) |
| OKLCH | oklch(0.474 0.174 25.7) |
Copy-ready code
/* CSS */
color: #a81c21;
background-color: #a81c21;
/* Tailwind (arbitrary) */
class="text-[#a81c21] bg-[#a81c21]"
/* SCSS */
$brand: #a81c21;
/* SwiftUI */
Color(red: 0.659, green: 0.110, blue: 0.129)
/* Android */
Color.parseColor("#a81c21")Accessibility — WCAG contrast
Aa
#a81c21 on white: 7.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a81c21 on black: 2.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green11.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta83.3%
Yellow80.4%
Key (black)34.1%
Color previews
#a81c21 text on a black background
contrast 2.85:1
Card sample
#a81c21 text on a white background
contrast 7.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a81c21;
Background color
Panel with #a81c21 background
background-color: #a81c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a81c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 28, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 28, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a81c21; background: linear-gradient(135deg, #a81c21, #A8741C);