#562f49
a dark, soft magenta / pink · warm · closest name: black
RGB
86, 47, 73
HSL
320°, 29%, 26%
CMYK
0, 45, 15, 66
Luminance
0.0449
Every format
| HEX | #562f49 |
| RGB | rgb(86, 47, 73) |
| HSL | hsl(320, 29%, 26%) |
| CMYK | cmyk(0%, 45%, 15%, 66%) |
| LAB | lab(25.2 22.0 -8.4) |
| LCH | lch(25.2 23.5 339.0) |
| OKLCH | oklch(0.364 0.068 340.8) |
Copy-ready code
/* CSS */
color: #562f49;
background-color: #562f49;
/* Tailwind (arbitrary) */
class="text-[#562f49] bg-[#562f49]"
/* SCSS */
$brand: #562f49;
/* SwiftUI */
Color(red: 0.337, green: 0.184, blue: 0.286)
/* Android */
Color.parseColor("#562f49")Accessibility — WCAG contrast
Aa
#562f49 on white: 11.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#562f49 on black: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green18.4%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta45.3%
Yellow15.1%
Key (black)66.3%
Color previews
#562f49 text on a black background
contrast 1.90:1
Card sample
#562f49 text on a white background
contrast 11.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #562f49;
Background color
Panel with #562f49 background
background-color: #562f49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #562f49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 47, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 47, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562f49; background: linear-gradient(135deg, #562f49, #562F2F);