#b12f13
a dark, electric red · warm · closest name: firebrick
RGB
177, 47, 19
HSL
11°, 81%, 38%
CMYK
0, 73, 89, 31
Luminance
0.1143
Every format
| HEX | #b12f13 |
| RGB | rgb(177, 47, 19) |
| HSL | hsl(11, 81%, 38%) |
| CMYK | cmyk(0%, 73%, 89%, 31%) |
| LAB | lab(40.3 51.1 46.0) |
| LCH | lch(40.3 68.8 42.0) |
| OKLCH | oklch(0.505 0.171 33.4) |
Copy-ready code
/* CSS */
color: #b12f13;
background-color: #b12f13;
/* Tailwind (arbitrary) */
class="text-[#b12f13] bg-[#b12f13]"
/* SCSS */
$brand: #b12f13;
/* SwiftUI */
Color(red: 0.694, green: 0.184, blue: 0.075)
/* Android */
Color.parseColor("#b12f13")Accessibility — WCAG contrast
Aa
#b12f13 on white: 6.39:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b12f13 on black: 3.29:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green18.4%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta73.4%
Yellow89.3%
Key (black)30.6%
Color previews
#b12f13 text on a black background
contrast 3.29:1
Card sample
#b12f13 text on a white background
contrast 6.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b12f13;
Background color
Panel with #b12f13 background
background-color: #b12f13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b12f13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 47, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 47, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b12f13; background: linear-gradient(135deg, #b12f13, #B19813);