#9B5986#9B5986

#9B5986 is a mid, moderate pink. Relative luminance 0.158; OKLCH L 55.4% C 0.105 H 340.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9B5986
RGBrgb(155, 89, 134)
HSLhsl(319, 27%, 48%)
HSVhsv(319, 43%, 61%)
CMYKcmyk(0%, 42.6%, 13.5%, 39.2%)
CIE-LABlab(46.76, 33.64, -13.41)
CIE-LCHlch(46.76, 36.21, 338.27°)
OKLaboklab(55.44% 0.0985 -0.0358)
OKLCHoklch(55.44% 0.105 340)
XYZxyz(21.3931, 15.8359, 24.4795)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5986 #599B6E
analogous
#8F599B #9B5986 #9B5965
triadic
#9B5986 #869B59 #59869B
tetradic
#9B5986 #9B8F59 #599B6E #59659B
square
#9B5986 #9B8F59 #599B6E #59659B
split-complementary
#9B5986 #659B59 #599B8F
monochromatic
#4D2C43 #744364 #9B5986 #B47DA3 #CBA4BE

Accessibility & contrast

On white

5.04
#9B5986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9B5986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B5986
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5986#FFFFFF#000000##FFFFFF
##9B59861.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6888
Deuteranopia (green-blind)
#6D7384
Tritanopia (blue-blind)
#A25A6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b5986;
/* rgb */ color: rgb(155, 89, 134);
/* oklch */ color: oklch(55.4% 0.105 340.0);
Tailwind
colors: {
  custom: {
    50: '#ba89a9',
    500: '#9b5986',
    950: '#000000',
  },
}
SCSS
$custom: #9b5986;
$custom-light: #ba89a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5986",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 319.091,
    "s": 27.049,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.10475,
    "h": 340
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#9B5986
secondary
#97B8A2
accent
#C38364
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120C0F
muted
#817D7F

Preview Lab

Preview with #9B5986

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

Preview Lab → · Contrast checker → · Palette generator →

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