#9D5E87#9D5E87

#9D5E87 is a mid, moderate pink. Relative luminance 0.169; OKLCH L 56.6% C 0.098 H 341.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9D5E87
RGBrgb(157, 94, 135)
HSLhsl(321, 25%, 49%)
HSVhsv(321, 40%, 62%)
CMYKcmyk(0%, 40.1%, 14%, 38.4%)
CIE-LABlab(48.16, 31.72, -11.86)
CIE-LCHlch(48.16, 33.87, 339.51°)
OKLaboklab(56.57% 0.093 -0.0315)
OKLCHoklch(56.57% 0.098 341.3)
XYZxyz(22.2806, 16.9241, 25.0101)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5E87 #5E9D74
analogous
#945E9D #9D5E87 #9D5E68
triadic
#9D5E87 #879D5E #5E879D
tetradic
#9D5E87 #9D945E #5E9D74 #5E689D
square
#9D5E87 #9D945E #5E9D74 #5E689D
split-complementary
#9D5E87 #689D5E #5E9D94
monochromatic
#503045 #774766 #9D5E87 #B583A4 #CCAAC0

Accessibility & contrast

On white

4.79
#9D5E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9D5E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5E87
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5E87#FFFFFF#000000##FFFFFF
##9D5E871.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616C89
Deuteranopia (green-blind)
#717685
Tritanopia (blue-blind)
#A45F6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d5e87;
/* rgb */ color: rgb(157, 94, 135);
/* oklch */ color: oklch(56.6% 0.098 341.3);
Tailwind
colors: {
  custom: {
    50: '#bb8daa',
    500: '#9d5e87',
    950: '#000000',
  },
}
SCSS
$custom: #9d5e87;
$custom-light: #bb8daa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5e87",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 320.952,
    "s": 25.1,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56572,
    "c": 0.09821,
    "h": 341.3
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#9D5E87
secondary
#9DBAA7
accent
#C28666
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9D5E87

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9D5E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva