#5F174D#5F174D
#5F174D is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.6% C 0.121 H 339.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5F174D |
|---|---|
| RGB | rgb(95, 23, 77) |
| HSL | hsl(315, 61%, 23%) |
| HSV | hsv(315, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 18.9%, 62.7%) |
| CIE-LAB | lab(22.24, 38.23, -15.60) |
| CIE-LCH | lch(22.24, 41.29, 337.80°) |
| OKLab | oklab(34.57% 0.1137 -0.0421) |
| OKLCH | oklch(34.57% 0.121 339.7) |
| XYZ | xyz(6.3654, 3.5821, 7.3759) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.79
Plum (survey)
#580F41
ΔE00 2.72
Rich Purple
#720058
ΔE00 4.40
Velvet
#750851
ΔE00 4.72
Deep Violet
#490648
ΔE00 5.95
Plum Purple
#4E0550
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F174D #175F29
analogous
#4D175F #5F174D #5F1729
triadic
#5F174D #4D5F17 #174D5F
tetradic
#5F174D #5F4D17 #175F29 #17295F
square
#5F174D #5F4D17 #175F29 #17295F
split-complementary
#5F174D #295F17 #175F4D
monochromatic
#190614 #2E0B25 #5F174D #902375 #C22F9D
Accessibility & contrast
On white
12.23
#5F174D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#5F174D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F174D
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F174D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F174D | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#32394B
Tritanopia (blue-blind)
#651930
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f174d; /* rgb */ color: rgb(95, 23, 77); /* oklch */ color: oklch(34.6% 0.121 339.7);
Tailwind
colors: {
custom: {
50: '#8f5b7f',
500: '#5f174d',
950: '#000000',
},
}SCSS
$custom: #5f174d; $custom-light: #8f5b7f; $custom-dark: #000000;
JSON
{
"hex": "#5f174d",
"rgb": {
"r": 95,
"g": 23,
"b": 77
},
"hsl": {
"h": 315,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.34566,
"c": 0.12126,
"h": 339.7
},
"luminance": 0.03582
}Semantic roles & 50–950 ramp
primary
#5F174D
secondary
#3C9652
accent
#E46C44
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C