#7c0f21
a dark, electric red · warm · closest name: maroon
RGB
124, 15, 33
HSL
350°, 78%, 27%
CMYK
0, 88, 73, 51
Luminance
0.0474
Every format
| HEX | #7c0f21 |
| RGB | rgb(124, 15, 33) |
| HSL | hsl(350, 78%, 27%) |
| CMYK | cmyk(0%, 88%, 73%, 51%) |
| LAB | lab(26.0 44.9 20.6) |
| LCH | lch(26.0 49.4 24.6) |
| OKLCH | oklch(0.379 0.141 19.7) |
Copy-ready code
/* CSS */
color: #7c0f21;
background-color: #7c0f21;
/* Tailwind (arbitrary) */
class="text-[#7c0f21] bg-[#7c0f21]"
/* SCSS */
$brand: #7c0f21;
/* SwiftUI */
Color(red: 0.486, green: 0.059, blue: 0.129)
/* Android */
Color.parseColor("#7c0f21")Accessibility — WCAG contrast
Aa
#7c0f21 on white: 10.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#7c0f21 on black: 1.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red48.6%
Green5.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta87.9%
Yellow73.4%
Key (black)51.4%
Color previews
#7c0f21 text on a black background
contrast 1.95:1
Card sample
#7c0f21 text on a white background
contrast 10.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7c0f21;
Background color
Panel with #7c0f21 background
background-color: #7c0f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7c0f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(124, 15, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 15, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c0f21; background: linear-gradient(135deg, #7c0f21, #7C460F);