#4f1221
a deep, vivid red · warm · closest name: black
RGB
79, 18, 33
HSL
345°, 63%, 19%
CMYK
0, 77, 58, 69
Luminance
0.0220
Every format
| HEX | #4f1221 |
| RGB | rgb(79, 18, 33) |
| HSL | hsl(345, 63%, 19%) |
| CMYK | cmyk(0%, 77%, 58%, 69%) |
| LAB | lab(16.5 29.5 6.4) |
| LCH | lch(16.5 30.2 12.3) |
| OKLCH | oklch(0.292 0.091 10.3) |
Copy-ready code
/* CSS */
color: #4f1221;
background-color: #4f1221;
/* Tailwind (arbitrary) */
class="text-[#4f1221] bg-[#4f1221]"
/* SCSS */
$brand: #4f1221;
/* SwiftUI */
Color(red: 0.310, green: 0.071, blue: 0.129)
/* Android */
Color.parseColor("#4f1221")Accessibility — WCAG contrast
Aa
#4f1221 on white: 14.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4f1221 on black: 1.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.0%
Green7.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta77.2%
Yellow58.2%
Key (black)69.0%
Color previews
#4f1221 text on a black background
contrast 1.44:1
Card sample
#4f1221 text on a white background
contrast 14.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4f1221;
Background color
Panel with #4f1221 background
background-color: #4f1221;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4f1221;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(79, 18, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 18, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f1221; background: linear-gradient(135deg, #4f1221, #4F2C12);