#b41021
a dark, electric red · warm · closest name: firebrick
RGB
180, 16, 33
HSL
354°, 84%, 38%
CMYK
0, 91, 82, 29
Luminance
0.1018
Every format
| HEX | #b41021 |
| RGB | rgb(180, 16, 33) |
| HSL | hsl(354, 84%, 38%) |
| CMYK | cmyk(0%, 91%, 82%, 29%) |
| LAB | lab(38.2 60.3 37.4) |
| LCH | lch(38.2 71.0 31.8) |
| OKLCH | oklch(0.490 0.191 24.7) |
Copy-ready code
/* CSS */
color: #b41021;
background-color: #b41021;
/* Tailwind (arbitrary) */
class="text-[#b41021] bg-[#b41021]"
/* SCSS */
$brand: #b41021;
/* SwiftUI */
Color(red: 0.706, green: 0.063, blue: 0.129)
/* Android */
Color.parseColor("#b41021")Accessibility — WCAG contrast
Aa
#b41021 on white: 6.92:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b41021 on black: 3.04:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green6.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta91.1%
Yellow81.7%
Key (black)29.4%
Color previews
#b41021 text on a black background
contrast 3.04:1
Card sample
#b41021 text on a white background
contrast 6.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b41021;
Background color
Panel with #b41021 background
background-color: #b41021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b41021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 16, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 16, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b41021; background: linear-gradient(135deg, #b41021, #B46C10);