#6c1521
a dark, vivid red · warm · closest name: maroon
RGB
108, 21, 33
HSL
352°, 67%, 25%
CMYK
0, 81, 69, 58
Luminance
0.0383
Every format
| HEX | #6c1521 |
| RGB | rgb(108, 21, 33) |
| HSL | hsl(352, 67%, 25%) |
| CMYK | cmyk(0%, 81%, 69%, 58%) |
| LAB | lab(23.1 38.2 16.3) |
| LCH | lch(23.1 41.5 23.1) |
| OKLCH | oklch(0.352 0.120 18.8) |
Copy-ready code
/* CSS */
color: #6c1521;
background-color: #6c1521;
/* Tailwind (arbitrary) */
class="text-[#6c1521] bg-[#6c1521]"
/* SCSS */
$brand: #6c1521;
/* SwiftUI */
Color(red: 0.424, green: 0.082, blue: 0.129)
/* Android */
Color.parseColor("#6c1521")Accessibility — WCAG contrast
Aa
#6c1521 on white: 11.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#6c1521 on black: 1.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red42.4%
Green8.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta80.6%
Yellow69.4%
Key (black)57.6%
Color previews
#6c1521 text on a black background
contrast 1.77:1
Card sample
#6c1521 text on a white background
contrast 11.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6c1521;
Background color
Panel with #6c1521 background
background-color: #6c1521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6c1521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(108, 21, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 21, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c1521; background: linear-gradient(135deg, #6c1521, #6C4315);