#9E2587#9E2587

#9E2587 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.187 H 337.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E2587
RGBrgb(158, 37, 135)
HSLhsl(311, 62%, 38%)
HSVhsv(311, 77%, 62%)
CMYKcmyk(0%, 76.6%, 14.6%, 38%)
CIE-LABlab(38.45, 58.34, -26.77)
CIE-LCHlch(38.45, 64.19, 335.35°)
OKLaboklab(49.42% 0.172 -0.0729)
OKLCHoklch(49.42% 0.187 337)
XYZxyz(19.1357, 10.3433, 23.9056)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2587 #259E3C
analogous
#78259E #9E2587 #9E254A
triadic
#9E2587 #879E25 #25879E
tetradic
#9E2587 #9E7825 #259E3C #254A9E
square
#9E2587 #9E7825 #259E3C #254A9E
split-complementary
#9E2587 #4A9E25 #259E78
monochromatic
#3B0E32 #6C195D #9E2587 #CF31B1 #DA63C4

Accessibility & contrast

On white

6.84
#9E2587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E2587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2587
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2587#FFFFFF#000000##FFFFFF
##9E25871.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#536184
Tritanopia (blue-blind)
#A72D54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2587;
/* rgb */ color: rgb(158, 37, 135);
/* oklch */ color: oklch(49.4% 0.187 337.0);
Tailwind
colors: {
  custom: {
    50: '#be6daa',
    500: '#9e2587',
    950: '#000000',
  },
}
SCSS
$custom: #9e2587;
$custom-light: #be6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2587",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 311.405,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.18678,
    "h": 337
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#9E2587
secondary
#5FC071
accent
#E56243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2587

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

Preview Lab → · Contrast checker → · Palette generator →

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