#9b0803
a dark, electric red · warm · closest name: firebrick
RGB
155, 8, 3
HSL
2°, 96%, 31%
CMYK
0, 95, 98, 39
Luminance
0.0715
Every format
| HEX | #9b0803 |
| RGB | rgb(155, 8, 3) |
| HSL | hsl(2, 96%, 31%) |
| CMYK | cmyk(0%, 95%, 98%, 39%) |
| LAB | lab(32.1 54.1 44.7) |
| LCH | lch(32.1 70.2 39.6) |
| OKLCH | oklch(0.436 0.175 29.5) |
Copy-ready code
/* CSS */
color: #9b0803;
background-color: #9b0803;
/* Tailwind (arbitrary) */
class="text-[#9b0803] bg-[#9b0803]"
/* SCSS */
$brand: #9b0803;
/* SwiftUI */
Color(red: 0.608, green: 0.031, blue: 0.012)
/* Android */
Color.parseColor("#9b0803")Accessibility — WCAG contrast
Aa
#9b0803 on white: 8.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#9b0803 on black: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green3.1%
Blue1.2%
CMYK percentages
Cyan0.0%
Magenta94.8%
Yellow98.1%
Key (black)39.2%
Color previews
#9b0803 text on a black background
contrast 2.43:1
Card sample
#9b0803 text on a white background
contrast 8.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b0803;
Background color
Panel with #9b0803 background
background-color: #9b0803;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b0803;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 8, 3, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 8, 3, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b0803; background: linear-gradient(135deg, #9b0803, #9B6D03);