#9D5F77#9D5F77

#9D5F77 is a mid, moderate pink. Relative luminance 0.167; OKLCH L 56.2% C 0.086 H 355.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9D5F77
RGBrgb(157, 95, 119)
HSLhsl(337, 25%, 49%)
HSVhsv(337, 39%, 62%)
CMYKcmyk(0%, 39.5%, 24.2%, 38.4%)
CIE-LABlab(47.86, 28.57, -2.72)
CIE-LCHlch(47.86, 28.70, 354.57°)
OKLaboklab(56.17% 0.0859 -0.0068)
OKLCHoklch(56.17% 0.086 355.5)
XYZxyz(21.3271, 16.6859, 19.5466)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5F77 #5F9D85
analogous
#9D5F96 #9D5F77 #9D665F
triadic
#9D5F77 #779D5F #5F779D
tetradic
#9D5F77 #969D5F #5F9D85 #665F9D
square
#9D5F77 #969D5F #5F9D85 #665F9D
split-complementary
#9D5F77 #5F9D66 #5F969D
monochromatic
#51313D #77485A #9D5F77 #B58497 #CCABB7

Accessibility & contrast

On white

4.84
#9D5F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9D5F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5F77
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5F77#FFFFFF#000000##FFFFFF
##9D5F771.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666B78
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#A65C67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d5f77;
/* rgb */ color: rgb(157, 95, 119);
/* oklch */ color: oklch(56.2% 0.086 355.5);
Tailwind
colors: {
  custom: {
    50: '#bb8d9e',
    500: '#9d5f77',
    950: '#000000',
  },
}
SCSS
$custom: #9d5f77;
$custom-light: #bb8d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5f77",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 119
  },
  "hsl": {
    "h": 336.774,
    "s": 24.603,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.08615,
    "h": 355.5
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#9D5F77
secondary
#9EBAAF
accent
#C19E67
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#120C0E
muted
#817D7E

Preview Lab

Preview with #9D5F77

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

Preview Lab → · Contrast checker → · Palette generator →

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