#be0021
a dark, electric red · warm · closest name: firebrick
RGB
190, 0, 33
HSL
350°, 100%, 37%
CMYK
0, 100, 83, 26
Luminance
0.1106
Every format
| HEX | #be0021 |
| RGB | rgb(190, 0, 33) |
| HSL | hsl(350, 100%, 37%) |
| CMYK | cmyk(0%, 100%, 83%, 26%) |
| LAB | lab(39.7 64.7 39.6) |
| LCH | lch(39.7 75.9 31.5) |
| OKLCH | oklch(0.505 0.204 24.2) |
Copy-ready code
/* CSS */
color: #be0021;
background-color: #be0021;
/* Tailwind (arbitrary) */
class="text-[#be0021] bg-[#be0021]"
/* SCSS */
$brand: #be0021;
/* SwiftUI */
Color(red: 0.745, green: 0.000, blue: 0.129)
/* Android */
Color.parseColor("#be0021")Accessibility — WCAG contrast
Aa
#be0021 on white: 6.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#be0021 on black: 3.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green0.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow82.6%
Key (black)25.5%
Color previews
#be0021 text on a black background
contrast 3.21:1
Card sample
#be0021 text on a white background
contrast 6.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #be0021;
Background color
Panel with #be0021 background
background-color: #be0021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #be0021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 0, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 0, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #be0021; background: linear-gradient(135deg, #be0021, #BE5E00);