#b22011
a dark, electric red · warm · closest name: firebrick
RGB
178, 32, 17
HSL
6°, 83%, 38%
CMYK
0, 82, 90, 30
Luminance
0.1054
Every format
| HEX | #b22011 |
| RGB | rgb(178, 32, 17) |
| HSL | hsl(6, 83%, 38%) |
| CMYK | cmyk(0%, 82%, 90%, 30%) |
| LAB | lab(38.8 56.1 45.8) |
| LCH | lch(38.8 72.4 39.3) |
| OKLCH | oklch(0.494 0.183 30.3) |
Copy-ready code
/* CSS */
color: #b22011;
background-color: #b22011;
/* Tailwind (arbitrary) */
class="text-[#b22011] bg-[#b22011]"
/* SCSS */
$brand: #b22011;
/* SwiftUI */
Color(red: 0.698, green: 0.125, blue: 0.067)
/* Android */
Color.parseColor("#b22011")Accessibility — WCAG contrast
Aa
#b22011 on white: 6.76:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b22011 on black: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green12.5%
Blue6.7%
CMYK percentages
Cyan0.0%
Magenta82.0%
Yellow90.4%
Key (black)30.2%
Color previews
#b22011 text on a black background
contrast 3.11:1
Card sample
#b22011 text on a white background
contrast 6.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b22011;
Background color
Panel with #b22011 background
background-color: #b22011;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b22011;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 32, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 32, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b22011; background: linear-gradient(135deg, #b22011, #B28B11);