#9D387E#9D387E

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

Color values

HEX#9D387E
RGBrgb(157, 56, 126)
HSLhsl(318, 47%, 42%)
HSVhsv(318, 64%, 62%)
CMYKcmyk(0%, 64.3%, 19.7%, 38.4%)
CIE-LABlab(40.42, 49.61, -18.19)
CIE-LCHlch(40.42, 52.84, 339.86°)
OKLaboklab(50.68% 0.148 -0.0487)
OKLCHoklch(50.68% 0.156 341.8)
XYZxyz(19.0852, 11.5046, 20.9501)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D387E #389D57
analogous
#8A389D #9D387E #9D384C
triadic
#9D387E #7E9D38 #387E9D
tetradic
#9D387E #9D8A38 #389D57 #384C9D
square
#9D387E #9D8A38 #389D57 #384C9D
split-complementary
#9D387E #4C9D38 #389D8A
monochromatic
#431836 #70285A #9D387E #C1519F #D17EB8

Accessibility & contrast

On white

6.36
#9D387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9D387E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D387E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D387E#FFFFFF#000000##FFFFFF
##9D387E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#A63956
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d387e;
/* rgb */ color: rgb(157, 56, 126);
/* oklch */ color: oklch(50.7% 0.156 341.8);
Tailwind
colors: {
  custom: {
    50: '#bd75a3',
    500: '#9d387e',
    950: '#000000',
  },
}
SCSS
$custom: #9d387e;
$custom-light: #bd75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d387e",
  "rgb": {
    "r": 157,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 318.416,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.15586,
    "h": 341.8
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#9D387E
secondary
#76BA8B
accent
#D77A51
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9D387E

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

Preview Lab → · Contrast checker → · Palette generator →

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