#9b0213
a dark, electric red · warm · closest name: firebrick
RGB
155, 2, 19
HSL
353°, 98%, 31%
CMYK
0, 99, 88, 39
Luminance
0.0706
Every format
| HEX | #9b0213 |
| RGB | rgb(155, 2, 19) |
| HSL | hsl(353, 98%, 31%) |
| CMYK | cmyk(0%, 99%, 88%, 39%) |
| LAB | lab(31.9 55.2 37.4) |
| LCH | lch(31.9 66.7 34.1) |
| OKLCH | oklch(0.435 0.176 25.9) |
Copy-ready code
/* CSS */
color: #9b0213;
background-color: #9b0213;
/* Tailwind (arbitrary) */
class="text-[#9b0213] bg-[#9b0213]"
/* SCSS */
$brand: #9b0213;
/* SwiftUI */
Color(red: 0.608, green: 0.008, blue: 0.075)
/* Android */
Color.parseColor("#9b0213")Accessibility — WCAG contrast
Aa
#9b0213 on white: 8.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#9b0213 on black: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green0.8%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta98.7%
Yellow87.7%
Key (black)39.2%
Color previews
#9b0213 text on a black background
contrast 2.41:1
Card sample
#9b0213 text on a white background
contrast 8.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b0213;
Background color
Panel with #9b0213 background
background-color: #9b0213;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b0213;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 2, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 2, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b0213; background: linear-gradient(135deg, #9b0213, #9B5702);