#502c24
a deep, soft red · warm · closest name: black
RGB
80, 44, 36
HSL
11°, 38%, 23%
CMYK
0, 45, 55, 69
Luminance
0.0363
Every format
| HEX | #502c24 |
| RGB | rgb(80, 44, 36) |
| HSL | hsl(11, 38%, 23%) |
| CMYK | cmyk(0%, 45%, 55%, 69%) |
| LAB | lab(22.4 15.6 12.3) |
| LCH | lch(22.4 19.9 38.3) |
| OKLCH | oklch(0.337 0.056 33.4) |
Copy-ready code
/* CSS */
color: #502c24;
background-color: #502c24;
/* Tailwind (arbitrary) */
class="text-[#502c24] bg-[#502c24]"
/* SCSS */
$brand: #502c24;
/* SwiftUI */
Color(red: 0.314, green: 0.173, blue: 0.141)
/* Android */
Color.parseColor("#502c24")Accessibility — WCAG contrast
Aa
#502c24 on white: 12.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#502c24 on black: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.4%
Green17.3%
Blue14.1%
CMYK percentages
Cyan0.0%
Magenta45.0%
Yellow55.0%
Key (black)68.6%
Color previews
#502c24 text on a black background
contrast 1.73:1
Card sample
#502c24 text on a white background
contrast 12.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #502c24;
Background color
Panel with #502c24 background
background-color: #502c24;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #502c24;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(80, 44, 36, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 44, 36, 0.45);
Border & gradient
Gradient panel
border: 3px solid #502c24; background: linear-gradient(135deg, #502c24, #504924);