#9B387D#9B387D

#9B387D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.3% C 0.154 H 341.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9B387D
RGBrgb(155, 56, 125)
HSLhsl(318, 47%, 41%)
HSVhsv(318, 64%, 61%)
CMYKcmyk(0%, 63.9%, 19.4%, 39.2%)
CIE-LABlab(40.05, 48.88, -18.17)
CIE-LCHlch(40.05, 52.15, 339.61°)
OKLaboklab(50.33% 0.1457 -0.0487)
OKLCHoklch(50.33% 0.154 341.5)
XYZxyz(18.6339, 11.2793, 20.5938)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B387D #389B56
analogous
#88389B #9B387D #9B384C
triadic
#9B387D #7D9B38 #387D9B
tetradic
#9B387D #9B8838 #389B56 #384C9B
square
#9B387D #9B8838 #389B56 #384C9B
split-complementary
#9B387D #4C9B38 #389B88
monochromatic
#411834 #6E2859 #9B387D #C0509E #D07DB7

Accessibility & contrast

On white

6.45
#9B387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9B387D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B387D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B387D#FFFFFF#000000##FFFFFF
##9B387D1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#A43955
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b387d;
/* rgb */ color: rgb(155, 56, 125);
/* oklch */ color: oklch(50.3% 0.154 341.5);
Tailwind
colors: {
  custom: {
    50: '#bb75a2',
    500: '#9b387d',
    950: '#000000',
  },
}
SCSS
$custom: #9b387d;
$custom-light: #bb75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b387d",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 318.182,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.15364,
    "h": 341.5
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#9B387D
secondary
#75B98A
accent
#D77A51
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9B387D

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

Preview Lab → · Contrast checker → · Palette generator →

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