#6c0118
a deep, electric red · warm · closest name: maroon
RGB
108, 1, 24
HSL
347°, 98%, 21%
CMYK
0, 99, 78, 58
Luminance
0.0328
Every format
| HEX | #6c0118 |
| RGB | rgb(108, 1, 24) |
| HSL | hsl(347, 98%, 21%) |
| CMYK | cmyk(0%, 99%, 78%, 58%) |
| LAB | lab(21.1 43.0 20.0) |
| LCH | lch(21.1 47.4 24.9) |
| OKLCH | oklch(0.337 0.134 19.7) |
Copy-ready code
/* CSS */
color: #6c0118;
background-color: #6c0118;
/* Tailwind (arbitrary) */
class="text-[#6c0118] bg-[#6c0118]"
/* SCSS */
$brand: #6c0118;
/* SwiftUI */
Color(red: 0.424, green: 0.004, blue: 0.094)
/* Android */
Color.parseColor("#6c0118")Accessibility — WCAG contrast
Aa
#6c0118 on white: 12.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#6c0118 on black: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red42.4%
Green0.4%
Blue9.4%
CMYK percentages
Cyan0.0%
Magenta99.1%
Yellow77.8%
Key (black)57.6%
Color previews
#6c0118 text on a black background
contrast 1.66:1
Card sample
#6c0118 text on a white background
contrast 12.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6c0118;
Background color
Panel with #6c0118 background
background-color: #6c0118;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6c0118;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(108, 1, 24, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 1, 24, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c0118; background: linear-gradient(135deg, #6c0118, #6C3101);