#b01021
a dark, electric red · warm · closest name: firebrick
RGB
176, 16, 33
HSL
354°, 83%, 38%
CMYK
0, 91, 81, 31
Luminance
0.0971
Every format
| HEX | #b01021 |
| RGB | rgb(176, 16, 33) |
| HSL | hsl(354, 83%, 38%) |
| CMYK | cmyk(0%, 91%, 81%, 31%) |
| LAB | lab(37.3 59.2 36.3) |
| LCH | lch(37.3 69.5 31.5) |
| OKLCH | oklch(0.483 0.188 24.5) |
Copy-ready code
/* CSS */
color: #b01021;
background-color: #b01021;
/* Tailwind (arbitrary) */
class="text-[#b01021] bg-[#b01021]"
/* SCSS */
$brand: #b01021;
/* SwiftUI */
Color(red: 0.690, green: 0.063, blue: 0.129)
/* Android */
Color.parseColor("#b01021")Accessibility — WCAG contrast
Aa
#b01021 on white: 7.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#b01021 on black: 2.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.0%
Green6.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta90.9%
Yellow81.3%
Key (black)31.0%
Color previews
#b01021 text on a black background
contrast 2.94:1
Card sample
#b01021 text on a white background
contrast 7.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b01021;
Background color
Panel with #b01021 background
background-color: #b01021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b01021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(176, 16, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 16, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b01021; background: linear-gradient(135deg, #b01021, #B06910);