#562F4B#562F4B
#562F4B is a dark, moderate pink. Relative luminance 0.045; OKLCH L 36.5% C 0.070 H 338.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #562F4B |
|---|---|
| RGB | rgb(86, 47, 75) |
| HSL | hsl(317, 29%, 26%) |
| HSV | hsv(317, 45%, 34%) |
| CMYK | cmyk(0%, 45.3%, 12.8%, 66.3%) |
| CIE-LAB | lab(25.32, 22.35, -9.65) |
| CIE-LCH | lch(25.32, 24.34, 336.64°) |
| OKLab | oklab(36.51% 0.0651 -0.0258) |
| OKLCH | oklch(36.51% 0.07 338.4) |
| XYZ | xyz(6.1243, 4.5198, 7.2051) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 6.26
Plum (survey)
#580F41
ΔE00 7.81
Grape Purple
#5D1451
ΔE00 8.25
Dirty Purple
#734A65
ΔE00 9.10
Aubergine
#3D0734
ΔE00 10.13
Velvet
#750851
ΔE00 10.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562F4B #2F563A
analogous
#4D2F56 #562F4B #562F37
triadic
#562F4B #4B562F #2F4B56
tetradic
#562F4B #564D2F #2F563A #2F3756
square
#562F4B #564D2F #2F563A #2F3756
split-complementary
#562F4B #37562F #2F564D
monochromatic
#140B11 #2E1928 #562F4B #7E456E #A55A90
Accessibility & contrast
On white
11.03
#562F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#562F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562F4B
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562F4B | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30384C
Deuteranopia (green-blind)
#3A3E4A
Tritanopia (blue-blind)
#5A3039
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #562f4b; /* rgb */ color: rgb(86, 47, 75); /* oklch */ color: oklch(36.5% 0.070 338.4);
Tailwind
colors: {
custom: {
50: '#87687d',
500: '#562f4b',
950: '#000000',
},
}SCSS
$custom: #562f4b; $custom-light: #87687d; $custom-dark: #000000;
JSON
{
"hex": "#562f4b",
"rgb": {
"r": 86,
"g": 47,
"b": 75
},
"hsl": {
"h": 316.923,
"s": 29.323,
"l": 26.078
},
"oklch": {
"l": 0.36514,
"c": 0.07002,
"h": 338.4
},
"luminance": 0.04519
}Semantic roles & 50–950 ramp
primary
#562F4B
secondary
#598766
accent
#C67E62
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B0609
muted
#7C7A7B