#9D5F87#9D5F87
#9D5F87 is a mid, moderate pink. Relative luminance 0.171; OKLCH L 56.7% C 0.096 H 341.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5F87 |
|---|---|
| RGB | rgb(157, 95, 135) |
| HSL | hsl(321, 25%, 49%) |
| HSV | hsv(321, 39%, 62%) |
| CMYK | cmyk(0%, 39.5%, 14%, 38.4%) |
| CIE-LAB | lab(48.39, 31.17, -11.52) |
| CIE-LCH | lch(48.39, 33.23, 339.72°) |
| OKLab | oklab(56.74% 0.0914 -0.0306) |
| OKLCH | oklch(56.74% 0.096 341.5) |
| XYZ | xyz(22.3701, 17.1031, 25.0399) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 2.41
Purpleish
#98568D
ΔE00 4.48
Purplish
#94568C
ΔE00 4.88
Dusky Purple
#895B7B
ΔE00 4.90
Dull Purple
#84597E
ΔE00 6.03
Dusty Purple
#825F87
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5F87 #5F9D75
analogous
#945F9D #9D5F87 #9D5F68
triadic
#9D5F87 #879D5F #5F879D
tetradic
#9D5F87 #9D945F #5F9D75 #5F689D
square
#9D5F87 #9D945F #5F9D75 #5F689D
split-complementary
#9D5F87 #689D5F #5F9D94
monochromatic
#513145 #774866 #9D5F87 #B584A4 #CCABC0
Accessibility & contrast
On white
4.75
#9D5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9D5F87 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D5F87
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D5F87 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626D88
Deuteranopia (green-blind)
#727785
Tritanopia (blue-blind)
#A4606D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d5f87; /* rgb */ color: rgb(157, 95, 135); /* oklch */ color: oklch(56.7% 0.096 341.5);
Tailwind
colors: {
custom: {
50: '#bb8daa',
500: '#9d5f87',
950: '#000000',
},
}SCSS
$custom: #9d5f87; $custom-light: #bb8daa; $custom-dark: #000000;
JSON
{
"hex": "#9d5f87",
"rgb": {
"r": 157,
"g": 95,
"b": 135
},
"hsl": {
"h": 321.29,
"s": 24.603,
"l": 49.412
},
"oklch": {
"l": 0.56742,
"c": 0.09637,
"h": 341.5
},
"luminance": 0.17102
}Semantic roles & 50–950 ramp
primary
#9D5F87
secondary
#9EBAA8
accent
#C18767
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120C10
muted
#817D7F