#9D387C#9D387C

#9D387C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.6% C 0.154 H 342.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9D387C
RGBrgb(157, 56, 124)
HSLhsl(320, 47%, 42%)
HSVhsv(320, 64%, 62%)
CMYKcmyk(0%, 64.3%, 21%, 38.4%)
CIE-LABlab(40.33, 49.32, -17.08)
CIE-LCHlch(40.33, 52.19, 340.89°)
OKLaboklab(50.59% 0.1476 -0.0456)
OKLCHoklch(50.59% 0.155 342.8)
XYZxyz(18.9574, 11.4534, 20.2772)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D387C #389D59
analogous
#8C389D #9D387C #9D384A
triadic
#9D387C #7C9D38 #387C9D
tetradic
#9D387C #9D8C38 #389D59 #384A9D
square
#9D387C #9D8C38 #389D59 #384A9D
split-complementary
#9D387C #4A9D38 #389D8C
monochromatic
#431835 #702858 #9D387C #C1519C #D17EB6

Accessibility & contrast

On white

6.38
#9D387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9D387C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D387C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D387C#FFFFFF#000000##FFFFFF
##9D387C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#A73855
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d387c;
/* rgb */ color: rgb(157, 56, 124);
/* oklch */ color: oklch(50.6% 0.154 342.8);
Tailwind
colors: {
  custom: {
    50: '#bd75a2',
    500: '#9d387c',
    950: '#000000',
  },
}
SCSS
$custom: #9d387c;
$custom-light: #bd75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d387c",
  "rgb": {
    "r": 157,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 319.604,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.1545,
    "h": 342.8
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#9D387C
secondary
#76BA8D
accent
#D77D51
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #9D387C

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

Preview Lab → · Contrast checker → · Palette generator →

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