#9c1421
a dark, electric red · warm · closest name: firebrick
RGB
156, 20, 33
HSL
354°, 77%, 35%
CMYK
0, 87, 79, 39
Luminance
0.0768
Every format
| HEX | #9c1421 |
| RGB | rgb(156, 20, 33) |
| HSL | hsl(354, 77%, 35%) |
| CMYK | cmyk(0%, 87%, 79%, 39%) |
| LAB | lab(33.3 53.0 30.8) |
| LCH | lch(33.3 61.3 30.1) |
| OKLCH | oklch(0.446 0.168 23.8) |
Copy-ready code
/* CSS */
color: #9c1421;
background-color: #9c1421;
/* Tailwind (arbitrary) */
class="text-[#9c1421] bg-[#9c1421]"
/* SCSS */
$brand: #9c1421;
/* SwiftUI */
Color(red: 0.612, green: 0.078, blue: 0.129)
/* Android */
Color.parseColor("#9c1421")Accessibility — WCAG contrast
Aa
#9c1421 on white: 8.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#9c1421 on black: 2.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red61.2%
Green7.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta87.2%
Yellow78.8%
Key (black)38.8%
Color previews
#9c1421 text on a black background
contrast 2.54:1
Card sample
#9c1421 text on a white background
contrast 8.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9c1421;
Background color
Panel with #9c1421 background
background-color: #9c1421;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9c1421;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(156, 20, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 20, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9c1421; background: linear-gradient(135deg, #9c1421, #9C6214);