#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
RGBrgb(157, 95, 135)
HSLhsl(321, 25%, 49%)
HSVhsv(321, 39%, 62%)
CMYKcmyk(0%, 39.5%, 14%, 38.4%)
CIE-LABlab(48.39, 31.17, -11.52)
CIE-LCHlch(48.39, 33.23, 339.72°)
OKLaboklab(56.74% 0.0914 -0.0306)
OKLCHoklch(56.74% 0.096 341.5)
XYZxyz(22.3701, 17.1031, 25.0399)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##9D5F871.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.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

Preview Lab

Preview with #9D5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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