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