#860f21
a dark, electric red · warm · closest name: maroon
RGB
134, 15, 33
HSL
351°, 80%, 29%
CMYK
0, 89, 75, 48
Luminance
0.0552
Every format
| HEX | #860f21 |
| RGB | rgb(134, 15, 33) |
| HSL | hsl(351, 80%, 29%) |
| CMYK | cmyk(0%, 89%, 75%, 48%) |
| LAB | lab(28.2 47.8 23.7) |
| LCH | lch(28.2 53.4 26.4) |
| OKLCH | oklch(0.400 0.150 21.0) |
Copy-ready code
/* CSS */
color: #860f21;
background-color: #860f21;
/* Tailwind (arbitrary) */
class="text-[#860f21] bg-[#860f21]"
/* SCSS */
$brand: #860f21;
/* SwiftUI */
Color(red: 0.525, green: 0.059, blue: 0.129)
/* Android */
Color.parseColor("#860f21")Accessibility — WCAG contrast
Aa
#860f21 on white: 9.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#860f21 on black: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red52.5%
Green5.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta88.8%
Yellow75.4%
Key (black)47.5%
Color previews
#860f21 text on a black background
contrast 2.10:1
Card sample
#860f21 text on a white background
contrast 9.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #860f21;
Background color
Panel with #860f21 background
background-color: #860f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #860f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(134, 15, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 15, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #860f21; background: linear-gradient(135deg, #860f21, #864C0F);