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