#4f2021
a deep, soft red · warm · closest name: black
RGB
79, 32, 33
HSL
359°, 42%, 22%
CMYK
0, 60, 58, 69
Luminance
0.0281
Every format
| HEX | #4f2021 |
| RGB | rgb(79, 32, 33) |
| HSL | hsl(359, 42%, 22%) |
| CMYK | cmyk(0%, 60%, 58%, 69%) |
| LAB | lab(19.3 22.2 10.1) |
| LCH | lch(19.3 24.4 24.5) |
| OKLCH | oklch(0.312 0.071 20.8) |
Copy-ready code
/* CSS */
color: #4f2021;
background-color: #4f2021;
/* Tailwind (arbitrary) */
class="text-[#4f2021] bg-[#4f2021]"
/* SCSS */
$brand: #4f2021;
/* SwiftUI */
Color(red: 0.310, green: 0.125, blue: 0.129)
/* Android */
Color.parseColor("#4f2021")Accessibility — WCAG contrast
Aa
#4f2021 on white: 13.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4f2021 on black: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.0%
Green12.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta59.5%
Yellow58.2%
Key (black)69.0%
Color previews
#4f2021 text on a black background
contrast 1.56:1
Card sample
#4f2021 text on a white background
contrast 13.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4f2021;
Background color
Panel with #4f2021 background
background-color: #4f2021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4f2021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(79, 32, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 32, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f2021; background: linear-gradient(135deg, #4f2021, #4F3E20);