#9B387C#9B387C

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

Color values

HEX#9B387C
RGBrgb(155, 56, 124)
HSLhsl(319, 47%, 41%)
HSVhsv(319, 64%, 61%)
CMYKcmyk(0%, 63.9%, 20%, 39.2%)
CIE-LABlab(40.00, 48.73, -17.62)
CIE-LCHlch(40.00, 51.82, 340.12°)
OKLaboklab(50.29% 0.1455 -0.0472)
OKLCHoklch(50.29% 0.153 342)
XYZxyz(18.5703, 11.2538, 20.2591)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B387C #389B57
analogous
#89389B #9B387C #9B384B
triadic
#9B387C #7C9B38 #387C9B
tetradic
#9B387C #9B8938 #389B57 #384B9B
square
#9B387C #9B8938 #389B57 #384B9B
split-complementary
#9B387C #4B9B38 #389B89
monochromatic
#411834 #6E2858 #9B387C #C0509D #D07DB6

Accessibility & contrast

On white

6.46
#9B387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9B387C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B387C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B387C#FFFFFF#000000##FFFFFF
##9B387C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b387c;
/* rgb */ color: rgb(155, 56, 124);
/* oklch */ color: oklch(50.3% 0.153 342.0);
Tailwind
colors: {
  custom: {
    50: '#bb75a2',
    500: '#9b387c',
    950: '#000000',
  },
}
SCSS
$custom: #9b387c;
$custom-light: #bb75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b387c",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 318.788,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.15295,
    "h": 342
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#9B387C
secondary
#75B98B
accent
#D77B51
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #9B387C

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

Preview Lab → · Contrast checker → · Palette generator →

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