#5F2152#5F2152
#5F2152 is a dark, moderate pink. Relative luminance 0.041; OKLCH L 36.0% C 0.110 H 336.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2152 |
|---|---|
| RGB | rgb(95, 33, 82) |
| HSL | hsl(313, 48%, 25%) |
| HSV | hsv(313, 65%, 37%) |
| CMYK | cmyk(0%, 65.3%, 13.7%, 62.7%) |
| CIE-LAB | lab(24.10, 34.59, -16.08) |
| CIE-LCH | lch(24.10, 38.14, 335.07°) |
| OKLab | oklab(36% 0.1013 -0.0436) |
| OKLCH | oklch(36% 0.11 336.7) |
| XYZ | xyz(6.7862, 4.1304, 8.4208) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 2.70
Plum (survey)
#580F41
ΔE00 4.31
Grape
#6C3461
ΔE00 5.08
Rich Purple
#720058
ΔE00 5.42
Velvet
#750851
ΔE00 5.72
Deep Violet
#490648
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2152 #215F2E
analogous
#4D215F #5F2152 #5F2133
triadic
#5F2152 #525F21 #21525F
tetradic
#5F2152 #5F4D21 #215F2E #21335F
square
#5F2152 #5F4D21 #215F2E #21335F
split-complementary
#5F2152 #335F21 #215F4D
monochromatic
#170814 #32112B #5F2152 #8C3179 #BA41A0
Accessibility & contrast
On white
11.50
#5F2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#5F2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2152
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2152 | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223354
Deuteranopia (green-blind)
#353D50
Tritanopia (blue-blind)
#642436
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #5f2152; /* rgb */ color: rgb(95, 33, 82); /* oklch */ color: oklch(36.0% 0.110 336.7);
Tailwind
colors: {
custom: {
50: '#8f6182',
500: '#5f2152',
950: '#000000',
},
}SCSS
$custom: #5f2152; $custom-light: #8f6182; $custom-dark: #000000;
JSON
{
"hex": "#5f2152",
"rgb": {
"r": 95,
"g": 33,
"b": 82
},
"hsl": {
"h": 312.581,
"s": 48.438,
"l": 25.098
},
"oklch": {
"l": 0.36004,
"c": 0.11024,
"h": 336.7
},
"luminance": 0.0413
}Semantic roles & 50–950 ramp
primary
#5F2152
secondary
#499358
accent
#D86C50
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0D050A
muted
#7D797C