#562b49
a dark, soft magenta / pink · warm · closest name: black
RGB
86, 43, 73
HSL
318°, 33%, 25%
CMYK
0, 50, 15, 66
Luminance
0.0419
Every format
| HEX | #562b49 |
| RGB | rgb(86, 43, 73) |
| HSL | hsl(318, 33%, 25%) |
| CMYK | cmyk(0%, 50%, 15%, 66%) |
| LAB | lab(24.3 24.4 -9.9) |
| LCH | lch(24.3 26.3 337.9) |
| OKLCH | oklch(0.357 0.076 339.7) |
Copy-ready code
/* CSS */
color: #562b49;
background-color: #562b49;
/* Tailwind (arbitrary) */
class="text-[#562b49] bg-[#562b49]"
/* SCSS */
$brand: #562b49;
/* SwiftUI */
Color(red: 0.337, green: 0.169, blue: 0.286)
/* Android */
Color.parseColor("#562b49")Accessibility — WCAG contrast
Aa
#562b49 on white: 11.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#562b49 on black: 1.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green16.9%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta50.0%
Yellow15.1%
Key (black)66.3%
Color previews
#562b49 text on a black background
contrast 1.84:1
Card sample
#562b49 text on a white background
contrast 11.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #562b49;
Background color
Panel with #562b49 background
background-color: #562b49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #562b49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 43, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 43, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562b49; background: linear-gradient(135deg, #562b49, #562B2C);