#b10021
a dark, electric red · warm · closest name: firebrick
RGB
177, 0, 33
HSL
349°, 100%, 35%
CMYK
0, 100, 81, 31
Luminance
0.0946
Every format
| HEX | #b10021 |
| RGB | rgb(177, 0, 33) |
| HSL | hsl(349, 100%, 35%) |
| CMYK | cmyk(0%, 100%, 81%, 31%) |
| LAB | lab(36.9 61.5 35.9) |
| LCH | lch(36.9 71.2 30.3) |
| OKLCH | oklch(0.480 0.194 23.4) |
Copy-ready code
/* CSS */
color: #b10021;
background-color: #b10021;
/* Tailwind (arbitrary) */
class="text-[#b10021] bg-[#b10021]"
/* SCSS */
$brand: #b10021;
/* SwiftUI */
Color(red: 0.694, green: 0.000, blue: 0.129)
/* Android */
Color.parseColor("#b10021")Accessibility — WCAG contrast
Aa
#b10021 on white: 7.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#b10021 on black: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green0.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow81.4%
Key (black)30.6%
Color previews
#b10021 text on a black background
contrast 2.89:1
Card sample
#b10021 text on a white background
contrast 7.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b10021;
Background color
Panel with #b10021 background
background-color: #b10021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b10021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 0, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 0, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b10021; background: linear-gradient(135deg, #b10021, #B15500);