#9D387F#9D387F

#9D387F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.157 H 341.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9D387F
RGBrgb(157, 56, 127)
HSLhsl(318, 47%, 42%)
HSVhsv(318, 64%, 62%)
CMYKcmyk(0%, 64.3%, 19.1%, 38.4%)
CIE-LABlab(40.46, 49.76, -18.74)
CIE-LCHlch(40.46, 53.17, 339.36°)
OKLaboklab(50.73% 0.1483 -0.0503)
OKLCHoklch(50.73% 0.157 341.3)
XYZxyz(19.1500, 11.5305, 21.2916)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D387F #389D56
analogous
#89389D #9D387F #9D384D
triadic
#9D387F #7F9D38 #387F9D
tetradic
#9D387F #9D8938 #389D56 #384D9D
square
#9D387F #9D8938 #389D56 #384D9D
split-complementary
#9D387F #4D9D38 #389D89
monochromatic
#431836 #70285B #9D387F #C151A0 #D17EB9

Accessibility & contrast

On white

6.35
#9D387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9D387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D387F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D387F#FFFFFF#000000##FFFFFF
##9D387F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#5D657D
Tritanopia (blue-blind)
#A63A56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d387f;
/* rgb */ color: rgb(157, 56, 127);
/* oklch */ color: oklch(50.7% 0.157 341.3);
Tailwind
colors: {
  custom: {
    50: '#bd75a4',
    500: '#9d387f',
    950: '#000000',
  },
}
SCSS
$custom: #9d387f;
$custom-light: #bd75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d387f",
  "rgb": {
    "r": 157,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 317.822,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.15655,
    "h": 341.3
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#9D387F
secondary
#76BA8B
accent
#D77951
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9D387F

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

Preview Lab → · Contrast checker → · Palette generator →

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