#9D5A91#9D5A91

#9D5A91 is a mid, moderate pink. Relative luminance 0.165; OKLCH L 56.3% C 0.114 H 333.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9D5A91
RGBrgb(157, 90, 145)
HSLhsl(311, 27%, 48%)
HSVhsv(311, 43%, 62%)
CMYKcmyk(0%, 42.7%, 7.6%, 38.4%)
CIE-LABlab(47.66, 35.70, -18.60)
CIE-LCHlch(47.66, 40.26, 332.49°)
OKLaboklab(56.31% 0.1024 -0.0502)
OKLCHoklch(56.31% 0.114 333.9)
XYZxyz(22.6715, 16.5260, 28.7782)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5A91 #5A9D66
analogous
#875A9D #9D5A91 #9D5A6F
triadic
#9D5A91 #919D5A #5A919D
tetradic
#9D5A91 #9D875A #5A9D66 #5A6F9D
square
#9D5A91 #9D875A #5A9D66 #5A6F9D
split-complementary
#9D5A91 #6F9D5A #5A9D87
monochromatic
#4F2D49 #76446D #9D5A91 #B57FAC #CCA6C5

Accessibility & contrast

On white

4.88
#9D5A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9D5A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5A91
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5A91#FFFFFF#000000##FFFFFF
##9D5A911.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596B93
Deuteranopia (green-blind)
#6B758F
Tritanopia (blue-blind)
#A35D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d5a91;
/* rgb */ color: rgb(157, 90, 145);
/* oklch */ color: oklch(56.3% 0.114 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb8ab1',
    500: '#9d5a91',
    950: '#000000',
  },
}
SCSS
$custom: #9d5a91;
$custom-light: #bb8ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5a91",
  "rgb": {
    "r": 157,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 310.746,
    "s": 27.126,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56314,
    "c": 0.114,
    "h": 333.9
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#9D5A91
secondary
#99BA9F
accent
#C37564
background
#FBF8FA
surface
#F6F0F5
border
#D0CBCF
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9D5A91

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

Preview Lab → · Contrast checker → · Palette generator →

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