#9D2587#9D2587

#9D2587 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.186 H 336.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9D2587
RGBrgb(157, 37, 135)
HSLhsl(311, 62%, 38%)
HSVhsv(311, 76%, 62%)
CMYKcmyk(0%, 76.4%, 14%, 38.4%)
CIE-LABlab(38.27, 58.10, -27.06)
CIE-LCHlch(38.27, 64.10, 335.03°)
OKLaboklab(49.26% 0.171 -0.0737)
OKLCHoklch(49.26% 0.186 336.7)
XYZxyz(18.9397, 10.2423, 23.8965)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2587 #259D3B
analogous
#77259D #9D2587 #9D254B
triadic
#9D2587 #879D25 #25879D
tetradic
#9D2587 #9D7725 #259D3B #254B9D
square
#9D2587 #9D7725 #259D3B #254B9D
split-complementary
#9D2587 #4B9D25 #259D77
monochromatic
#3A0E32 #6B195C #9D2587 #CE31B2 #DA62C4

Accessibility & contrast

On white

6.89
#9D2587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9D2587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2587
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2587#FFFFFF#000000##FFFFFF
##9D25871.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8A
Deuteranopia (green-blind)
#526184
Tritanopia (blue-blind)
#A52D54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2587;
/* rgb */ color: rgb(157, 37, 135);
/* oklch */ color: oklch(49.3% 0.186 336.7);
Tailwind
colors: {
  custom: {
    50: '#be6daa',
    500: '#9d2587',
    950: '#000000',
  },
}
SCSS
$custom: #9d2587;
$custom-light: #be6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2587",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 311,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.1862,
    "h": 336.7
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#9D2587
secondary
#5EBF70
accent
#E56143
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2587

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

Preview Lab → · Contrast checker → · Palette generator →

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