#8f2521
a dark, vivid red · warm · closest name: maroon
RGB
143, 37, 33
HSL
2°, 63%, 35%
CMYK
0, 74, 77, 44
Luminance
0.0727
Every format
| HEX | #8f2521 |
| RGB | rgb(143, 37, 33) |
| HSL | hsl(2, 63%, 35%) |
| CMYK | cmyk(0%, 74%, 77%, 44%) |
| LAB | lab(32.4 43.9 29.0) |
| LCH | lch(32.4 52.7 33.5) |
| OKLCH | oklch(0.434 0.142 27.1) |
Copy-ready code
/* CSS */
color: #8f2521;
background-color: #8f2521;
/* Tailwind (arbitrary) */
class="text-[#8f2521] bg-[#8f2521]"
/* SCSS */
$brand: #8f2521;
/* SwiftUI */
Color(red: 0.561, green: 0.145, blue: 0.129)
/* Android */
Color.parseColor("#8f2521")Accessibility — WCAG contrast
Aa
#8f2521 on white: 8.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#8f2521 on black: 2.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green14.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta74.1%
Yellow76.9%
Key (black)43.9%
Color previews
#8f2521 text on a black background
contrast 2.45:1
Card sample
#8f2521 text on a white background
contrast 8.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8f2521;
Background color
Panel with #8f2521 background
background-color: #8f2521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8f2521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 37, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 37, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f2521; background: linear-gradient(135deg, #8f2521, #8F6E21);