#861c21
a dark, vivid red · warm · closest name: maroon
RGB
134, 28, 33
HSL
357°, 65%, 32%
CMYK
0, 79, 75, 48
Luminance
0.0601
Every format
| HEX | #861c21 |
| RGB | rgb(134, 28, 33) |
| HSL | hsl(357, 65%, 32%) |
| CMYK | cmyk(0%, 79%, 75%, 48%) |
| LAB | lab(29.4 44.2 25.2) |
| LCH | lch(29.4 50.9 29.7) |
| OKLCH | oklch(0.409 0.141 23.9) |
Copy-ready code
/* CSS */
color: #861c21;
background-color: #861c21;
/* Tailwind (arbitrary) */
class="text-[#861c21] bg-[#861c21]"
/* SCSS */
$brand: #861c21;
/* SwiftUI */
Color(red: 0.525, green: 0.110, blue: 0.129)
/* Android */
Color.parseColor("#861c21")Accessibility — WCAG contrast
Aa
#861c21 on white: 9.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#861c21 on black: 2.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red52.5%
Green11.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta79.1%
Yellow75.4%
Key (black)47.5%
Color previews
#861c21 text on a black background
contrast 2.20:1
Card sample
#861c21 text on a white background
contrast 9.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #861c21;
Background color
Panel with #861c21 background
background-color: #861c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #861c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(134, 28, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 28, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #861c21; background: linear-gradient(135deg, #861c21, #865E1C);