#9D5B91#9D5B91

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

Color values

HEX#9D5B91
RGBrgb(157, 91, 145)
HSLhsl(311, 27%, 49%)
HSVhsv(311, 42%, 62%)
CMYKcmyk(0%, 42%, 7.6%, 38.4%)
CIE-LABlab(47.87, 35.15, -18.26)
CIE-LCHlch(47.87, 39.61, 332.54°)
OKLaboklab(56.48% 0.1008 -0.0493)
OKLCHoklch(56.48% 0.112 333.9)
XYZxyz(22.7564, 16.6959, 28.8066)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5B91 #5B9D67
analogous
#885B9D #9D5B91 #9D5B70
triadic
#9D5B91 #919D5B #5B919D
tetradic
#9D5B91 #9D885B #5B9D67 #5B709D
square
#9D5B91 #9D885B #5B9D67 #5B709D
split-complementary
#9D5B91 #709D5B #5B9D88
monochromatic
#502E49 #76456D #9D5B91 #B580AC #CCA7C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D5B91#FFFFFF#000000##FFFFFF
##9D5B911.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)
#5B6C93
Deuteranopia (green-blind)
#6C758F
Tritanopia (blue-blind)
#A35E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d5b91;
/* rgb */ color: rgb(157, 91, 145);
/* oklch */ color: oklch(56.5% 0.112 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb8bb1',
    500: '#9d5b91',
    950: '#000000',
  },
}
SCSS
$custom: #9d5b91;
$custom-light: #bb8bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5b91",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 145
  },
  "hsl": {
    "h": 310.909,
    "s": 26.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.11217,
    "h": 333.9
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#9D5B91
secondary
#9ABAA0
accent
#C37665
background
#FBF8FA
surface
#F6F0F5
border
#D0CBCF
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9D5B91

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

Preview Lab → · Contrast checker → · Palette generator →

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