#a30021
a dark, electric red · warm · closest name: firebrick
RGB
163, 0, 33
HSL
348°, 100%, 32%
CMYK
0, 100, 80, 36
Luminance
0.0790
Every format
| HEX | #a30021 |
| RGB | rgb(163, 0, 33) |
| HSL | hsl(348, 100%, 32%) |
| CMYK | cmyk(0%, 100%, 80%, 36%) |
| LAB | lab(33.8 57.9 31.7) |
| LCH | lch(33.8 66.1 28.7) |
| OKLCH | oklch(0.452 0.182 22.3) |
Copy-ready code
/* CSS */
color: #a30021;
background-color: #a30021;
/* Tailwind (arbitrary) */
class="text-[#a30021] bg-[#a30021]"
/* SCSS */
$brand: #a30021;
/* SwiftUI */
Color(red: 0.639, green: 0.000, blue: 0.129)
/* Android */
Color.parseColor("#a30021")Accessibility — WCAG contrast
Aa
#a30021 on white: 8.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a30021 on black: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green0.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow79.8%
Key (black)36.1%
Color previews
#a30021 text on a black background
contrast 2.58:1
Card sample
#a30021 text on a white background
contrast 8.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a30021;
Background color
Panel with #a30021 background
background-color: #a30021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a30021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 0, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 0, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a30021; background: linear-gradient(135deg, #a30021, #A34C00);