#522f21
a deep, soft orange · warm · closest name: black
RGB
82, 47, 33
HSL
17°, 43%, 23%
CMYK
0, 43, 60, 68
Luminance
0.0394
Every format
| HEX | #522f21 |
| RGB | rgb(82, 47, 33) |
| HSL | hsl(17, 43%, 23%) |
| CMYK | cmyk(0%, 43%, 60%, 68%) |
| LAB | lab(23.5 14.3 15.7) |
| LCH | lch(23.5 21.3 47.6) |
| OKLCH | oklch(0.346 0.057 42.4) |
Copy-ready code
/* CSS */
color: #522f21;
background-color: #522f21;
/* Tailwind (arbitrary) */
class="text-[#522f21] bg-[#522f21]"
/* SCSS */
$brand: #522f21;
/* SwiftUI */
Color(red: 0.322, green: 0.184, blue: 0.129)
/* Android */
Color.parseColor("#522f21")Accessibility — WCAG contrast
Aa
#522f21 on white: 11.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#522f21 on black: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.2%
Green18.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta42.7%
Yellow59.8%
Key (black)67.8%
Color previews
#522f21 text on a black background
contrast 1.79:1
Card sample
#522f21 text on a white background
contrast 11.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #522f21;
Background color
Panel with #522f21 background
background-color: #522f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #522f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(82, 47, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(82, 47, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #522f21; background: linear-gradient(135deg, #522f21, #524F21);