#562c49
a dark, soft magenta / pink · warm · closest name: black
RGB
86, 44, 73
HSL
319°, 32%, 26%
CMYK
0, 49, 15, 66
Luminance
0.0426
Every format
| HEX | #562c49 |
| RGB | rgb(86, 44, 73) |
| HSL | hsl(319, 32%, 26%) |
| CMYK | cmyk(0%, 49%, 15%, 66%) |
| LAB | lab(24.5 23.8 -9.5) |
| LCH | lch(24.5 25.6 338.1) |
| OKLCH | oklch(0.359 0.074 339.9) |
Copy-ready code
/* CSS */
color: #562c49;
background-color: #562c49;
/* Tailwind (arbitrary) */
class="text-[#562c49] bg-[#562c49]"
/* SCSS */
$brand: #562c49;
/* SwiftUI */
Color(red: 0.337, green: 0.173, blue: 0.286)
/* Android */
Color.parseColor("#562c49")Accessibility — WCAG contrast
Aa
#562c49 on white: 11.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#562c49 on black: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green17.3%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta48.8%
Yellow15.1%
Key (black)66.3%
Color previews
#562c49 text on a black background
contrast 1.85:1
Card sample
#562c49 text on a white background
contrast 11.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #562c49;
Background color
Panel with #562c49 background
background-color: #562c49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #562c49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 44, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 44, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562c49; background: linear-gradient(135deg, #562c49, #562C2D);