#b02321
a dark, vivid red · warm · “firebrick”
RGB
176, 35, 33
HSL
1°, 68%, 41%
CMYK
0, 80, 81, 31
Luminance
0.1054
Every format
| HEX | #b02321 |
| RGB | rgb(176, 35, 33) |
| HSL | hsl(1, 68%, 41%) |
| CMYK | cmyk(0%, 80%, 81%, 31%) |
| LAB | lab(38.8 55.0 37.8) |
| LCH | lch(38.8 66.7 34.5) |
| OKLCH | oklch(0.494 0.177 27.2) |
Copy-ready code
/* CSS */
color: #b02321;
background-color: #b02321;
/* Tailwind (arbitrary) */
class="text-[#b02321] bg-[#b02321]"
/* SCSS */
$brand: #b02321;
/* SwiftUI */
Color(red: 0.690, green: 0.137, blue: 0.129)
/* Android */
Color.parseColor("#b02321")Accessibility — WCAG contrast
Aa
#b02321 on white: 6.76:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b02321 on black: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.0%
Green13.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta80.1%
Yellow81.3%
Key (black)31.0%
Color previews
#b02321 text on a black background
contrast 3.11:1
Card sample
#b02321 text on a white background
contrast 6.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b02321;
Background color
Panel with #b02321 background
background-color: #b02321;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b02321;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(176, 35, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 35, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b02321; background: linear-gradient(135deg, #b02321, #B08221);