#8c1521
a dark, vivid red · warm · closest name: maroon
RGB
140, 21, 33
HSL
354°, 74%, 32%
CMYK
0, 85, 76, 45
Luminance
0.0622
Every format
| HEX | #8c1521 |
| RGB | rgb(140, 21, 33) |
| HSL | hsl(354, 74%, 32%) |
| CMYK | cmyk(0%, 85%, 76%, 45%) |
| LAB | lab(30.0 48.1 26.1) |
| LCH | lch(30.0 54.8 28.5) |
| OKLCH | oklch(0.415 0.152 22.7) |
Copy-ready code
/* CSS */
color: #8c1521;
background-color: #8c1521;
/* Tailwind (arbitrary) */
class="text-[#8c1521] bg-[#8c1521]"
/* SCSS */
$brand: #8c1521;
/* SwiftUI */
Color(red: 0.549, green: 0.082, blue: 0.129)
/* Android */
Color.parseColor("#8c1521")Accessibility — WCAG contrast
Aa
#8c1521 on white: 9.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#8c1521 on black: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green8.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta85.0%
Yellow76.4%
Key (black)45.1%
Color previews
#8c1521 text on a black background
contrast 2.24:1
Card sample
#8c1521 text on a white background
contrast 9.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c1521;
Background color
Panel with #8c1521 background
background-color: #8c1521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c1521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 21, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 21, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c1521; background: linear-gradient(135deg, #8c1521, #8C5815);