#9B5985#9B5985

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

Color values

HEX#9B5985
RGBrgb(155, 89, 133)
HSLhsl(320, 27%, 48%)
HSVhsv(320, 43%, 61%)
CMYKcmyk(0%, 42.6%, 14.2%, 39.2%)
CIE-LABlab(46.72, 33.46, -12.86)
CIE-LCHlch(46.72, 35.85, 338.97°)
OKLaboklab(55.4% 0.0982 -0.0342)
OKLCHoklch(55.4% 0.104 340.8)
XYZxyz(21.3237, 15.8081, 24.1139)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5985 #599B6F
analogous
#90599B #9B5985 #9B5964
triadic
#9B5985 #859B59 #59859B
tetradic
#9B5985 #9B9059 #599B6F #59649B
square
#9B5985 #9B9059 #599B6F #59649B
split-complementary
#9B5985 #649B59 #599B90
monochromatic
#4D2C42 #744364 #9B5985 #B47DA2 #CBA4BE

Accessibility & contrast

On white

5.05
#9B5985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9B5985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B5985
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5985#FFFFFF#000000##FFFFFF
##9B59851.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6887
Deuteranopia (green-blind)
#6D7383
Tritanopia (blue-blind)
#A25A69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b5985;
/* rgb */ color: rgb(155, 89, 133);
/* oklch */ color: oklch(55.4% 0.104 340.8);
Tailwind
colors: {
  custom: {
    50: '#ba89a8',
    500: '#9b5985',
    950: '#000000',
  },
}
SCSS
$custom: #9b5985;
$custom-light: #ba89a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5985",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 320,
    "s": 27.049,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.10395,
    "h": 340.8
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B5985

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

Preview Lab → · Contrast checker → · Palette generator →

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