#a30019
a dark, electric red · warm · closest name: firebrick
RGB
163, 0, 25
HSL
351°, 100%, 32%
CMYK
0, 100, 85, 36
Luminance
0.0786
Every format
| HEX | #a30019 |
| RGB | rgb(163, 0, 25) |
| HSL | hsl(351, 100%, 32%) |
| CMYK | cmyk(0%, 100%, 85%, 36%) |
| LAB | lab(33.7 57.7 36.4) |
| LCH | lch(33.7 68.2 32.2) |
| OKLCH | oklch(0.451 0.183 24.7) |
Copy-ready code
/* CSS */
color: #a30019;
background-color: #a30019;
/* Tailwind (arbitrary) */
class="text-[#a30019] bg-[#a30019]"
/* SCSS */
$brand: #a30019;
/* SwiftUI */
Color(red: 0.639, green: 0.000, blue: 0.098)
/* Android */
Color.parseColor("#a30019")Accessibility — WCAG contrast
Aa
#a30019 on white: 8.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#a30019 on black: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.9%
Green0.0%
Blue9.8%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow84.7%
Key (black)36.1%
Color previews
#a30019 text on a black background
contrast 2.57:1
Card sample
#a30019 text on a white background
contrast 8.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a30019;
Background color
Panel with #a30019 background
background-color: #a30019;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a30019;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(163, 0, 25, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 0, 25, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a30019; background: linear-gradient(135deg, #a30019, #A35400);