#9D2387#9D2387

#9D2387 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.188 H 336.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9D2387
RGBrgb(157, 35, 135)
HSLhsl(311, 64%, 38%)
HSVhsv(311, 78%, 62%)
CMYKcmyk(0%, 77.7%, 14%, 38.4%)
CIE-LABlab(38.06, 58.72, -27.40)
CIE-LCHlch(38.06, 64.80, 334.99°)
OKLaboklab(49.1% 0.1728 -0.0747)
OKLCHoklch(49.1% 0.188 336.6)
XYZxyz(18.8792, 10.1212, 23.8763)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2387 #239D39
analogous
#76239D #9D2387 #9D234A
triadic
#9D2387 #879D23 #23879D
tetradic
#9D2387 #9D7623 #239D39 #234A9D
square
#9D2387 #9D7623 #239D39 #234A9D
split-complementary
#9D2387 #4A9D23 #239D76
monochromatic
#390D31 #6B185C #9D2387 #CF2EB2 #DB5FC5

Accessibility & contrast

On white

6.94
#9D2387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D2387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2387
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2387#FFFFFF#000000##FFFFFF
##9D23871.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A52C53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2387;
/* rgb */ color: rgb(157, 35, 135);
/* oklch */ color: oklch(49.1% 0.188 336.6);
Tailwind
colors: {
  custom: {
    50: '#be6caa',
    500: '#9d2387',
    950: '#000000',
  },
}
SCSS
$custom: #9d2387;
$custom-light: #be6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2387",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 310.82,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.18826,
    "h": 336.6
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#9D2387
secondary
#5CC06E
accent
#E75F41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2387

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

Preview Lab → · Contrast checker → · Palette generator →

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