#b42621
a dark, vivid red · warm · “firebrick”
RGB
180, 38, 33
HSL
2°, 69%, 42%
CMYK
0, 79, 82, 29
Luminance
0.1120
Every format
| HEX | #b42621 |
| RGB | rgb(180, 38, 33) |
| HSL | hsl(2, 69%, 42%) |
| CMYK | cmyk(0%, 79%, 82%, 29%) |
| LAB | lab(39.9 55.3 39.1) |
| LCH | lch(39.9 67.8 35.3) |
| OKLCH | oklch(0.503 0.179 27.9) |
Copy-ready code
/* CSS */
color: #b42621;
background-color: #b42621;
/* Tailwind (arbitrary) */
class="text-[#b42621] bg-[#b42621]"
/* SCSS */
$brand: #b42621;
/* SwiftUI */
Color(red: 0.706, green: 0.149, blue: 0.129)
/* Android */
Color.parseColor("#b42621")Accessibility — WCAG contrast
Aa
#b42621 on white: 6.48:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b42621 on black: 3.24:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green14.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta78.9%
Yellow81.7%
Key (black)29.4%
Color previews
#b42621 text on a black background
contrast 3.24:1
Card sample
#b42621 text on a white background
contrast 6.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b42621;
Background color
Panel with #b42621 background
background-color: #b42621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b42621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 38, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 38, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b42621; background: linear-gradient(135deg, #b42621, #B48821);