#9d0721
a dark, electric red · warm · closest name: firebrick
RGB
157, 7, 33
HSL
350°, 92%, 32%
CMYK
0, 96, 79, 38
Luminance
0.0743
Every format
| HEX | #9d0721 |
| RGB | rgb(157, 7, 33) |
| HSL | hsl(350, 92%, 32%) |
| CMYK | cmyk(0%, 96%, 79%, 38%) |
| LAB | lab(32.8 55.4 30.3) |
| LCH | lch(32.8 63.2 28.6) |
| OKLCH | oklch(0.442 0.174 22.4) |
Copy-ready code
/* CSS */
color: #9d0721;
background-color: #9d0721;
/* Tailwind (arbitrary) */
class="text-[#9d0721] bg-[#9d0721]"
/* SCSS */
$brand: #9d0721;
/* SwiftUI */
Color(red: 0.616, green: 0.027, blue: 0.129)
/* Android */
Color.parseColor("#9d0721")Accessibility — WCAG contrast
Aa
#9d0721 on white: 8.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#9d0721 on black: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red61.6%
Green2.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta95.5%
Yellow79.0%
Key (black)38.4%
Color previews
#9d0721 text on a black background
contrast 2.49:1
Card sample
#9d0721 text on a white background
contrast 8.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9d0721;
Background color
Panel with #9d0721 background
background-color: #9d0721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9d0721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(157, 7, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 7, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9d0721; background: linear-gradient(135deg, #9d0721, #9D5107);