#9D5A7B#9D5A7B

#9D5A7B is a mid, moderate pink. Relative luminance 0.159; OKLCH L 55.4% C 0.097 H 349.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9D5A7B
RGBrgb(157, 90, 123)
HSLhsl(330, 27%, 48%)
HSVhsv(330, 43%, 62%)
CMYKcmyk(0%, 42.7%, 21.7%, 38.4%)
CIE-LABlab(46.86, 31.98, -6.61)
CIE-LCHlch(46.86, 32.66, 348.32°)
OKLaboklab(55.45% 0.0956 -0.0172)
OKLCHoklch(55.45% 0.097 349.8)
XYZxyz(21.1364, 15.9120, 20.6931)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5A7B #5A9D7C
analogous
#9D5A9C #9D5A7B #9D5A5A
triadic
#9D5A7B #7B9D5A #5A7B9D
tetradic
#9D5A7B #9C9D5A #5A9D7C #5A5A9D
square
#9D5A7B #9C9D5A #5A9D7C #5A5A9D
split-complementary
#9D5A7B #5A9D5A #5A9C9D
monochromatic
#4F2D3E #76445D #9D5A7B #B57F9A #CCA6B8

Accessibility & contrast

On white

5.02
#9D5A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9D5A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5A7B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5A7B#FFFFFF#000000##FFFFFF
##9D5A7B1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61687C
Deuteranopia (green-blind)
#717379
Tritanopia (blue-blind)
#A65866
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d5a7b;
/* rgb */ color: rgb(157, 90, 123);
/* oklch */ color: oklch(55.4% 0.097 349.8);
Tailwind
colors: {
  custom: {
    50: '#bb8aa1',
    500: '#9d5a7b',
    950: '#000000',
  },
}
SCSS
$custom: #9d5a7b;
$custom-light: #bb8aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5a7b",
  "rgb": {
    "r": 157,
    "g": 90,
    "b": 123
  },
  "hsl": {
    "h": 330.448,
    "s": 27.126,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.09717,
    "h": 349.8
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#9D5A7B
secondary
#99BAAA
accent
#C39564
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#120C0E
muted
#817D7E

Preview Lab

Preview with #9D5A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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