#502c21
a deep, soft red · warm · closest name: black
RGB
80, 44, 33
HSL
14°, 42%, 22%
CMYK
0, 45, 59, 69
Luminance
0.0362
Every format
| HEX | #502c21 |
| RGB | rgb(80, 44, 33) |
| HSL | hsl(14, 42%, 22%) |
| CMYK | cmyk(0%, 45%, 59%, 69%) |
| LAB | lab(22.4 15.3 14.3) |
| LCH | lch(22.4 20.9 43.0) |
| OKLCH | oklch(0.337 0.057 37.8) |
Copy-ready code
/* CSS */
color: #502c21;
background-color: #502c21;
/* Tailwind (arbitrary) */
class="text-[#502c21] bg-[#502c21]"
/* SCSS */
$brand: #502c21;
/* SwiftUI */
Color(red: 0.314, green: 0.173, blue: 0.129)
/* Android */
Color.parseColor("#502c21")Accessibility — WCAG contrast
Aa
#502c21 on white: 12.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#502c21 on black: 1.72:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green17.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta45.0%
Yellow58.8%
Key (black)68.6%
Color previews
#502c21 text on a black background
contrast 1.72:1
Card sample
#502c21 text on a white background
contrast 12.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #502c21;
Background color
Panel with #502c21 background
background-color: #502c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #502c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 44, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 44, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #502c21; background: linear-gradient(135deg, #502c21, #504B21);