#9B5B7B#9B5B7B

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

Color values

HEX#9B5B7B
RGBrgb(155, 91, 123)
HSLhsl(330, 26%, 48%)
HSVhsv(330, 41%, 61%)
CMYKcmyk(0%, 41.3%, 20.6%, 39.2%)
CIE-LABlab(46.82, 30.70, -6.70)
CIE-LCHlch(46.82, 31.42, 347.69°)
OKLaboklab(55.36% 0.0916 -0.0174)
OKLCHoklch(55.36% 0.093 349.2)
XYZxyz(20.8342, 15.8822, 20.7033)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5B7B #5B9B7B
analogous
#9B5B9B #9B5B7B #9B5B5B
triadic
#9B5B7B #7B9B5B #5B7B9B
tetradic
#9B5B7B #9B9B5B #5B9B7B #5B5B9B
square
#9B5B7B #9B9B5B #5B9B7B #5B5B9B
split-complementary
#9B5B7B #5B9B5B #5B9B9B
monochromatic
#4E2E3E #74445C #9B5B7B #B47F9A #CBA6B8

Accessibility & contrast

On white

5.03
#9B5B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B5B7B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5B7B#FFFFFF#000000##FFFFFF
##9B5B7B1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b5b7b;
/* rgb */ color: rgb(155, 91, 123);
/* oklch */ color: oklch(55.4% 0.093 349.2);
Tailwind
colors: {
  custom: {
    50: '#ba8ba1',
    500: '#9b5b7b',
    950: '#000000',
  },
}
SCSS
$custom: #9b5b7b;
$custom-light: #ba8ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5b7b",
  "rgb": {
    "r": 155,
    "g": 91,
    "b": 123
  },
  "hsl": {
    "h": 330,
    "s": 26.016,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.09326,
    "h": 349.2
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#9B5B7B
secondary
#99B9A9
accent
#C29465
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#120C0E
muted
#817D7E

Preview Lab

Preview with #9B5B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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