#9E1587#9E1587

#9E1587 is a mid, highly saturated pink. Relative luminance 0.096; OKLCH L 48.4% C 0.201 H 336.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9E1587
RGBrgb(158, 21, 135)
HSLhsl(310, 77%, 35%)
HSVhsv(310, 87%, 62%)
CMYKcmyk(0%, 86.7%, 14.6%, 38%)
CIE-LABlab(37.03, 62.43, -28.99)
CIE-LCHlch(37.03, 68.83, 335.09°)
OKLaboklab(48.4% 0.1842 -0.0791)
OKLCHoklch(48.4% 0.201 336.8)
XYZxyz(18.7423, 9.5566, 23.7745)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1587 #159E2C
analogous
#70159E #9E1587 #9E1543
triadic
#9E1587 #879E15 #15879E
tetradic
#9E1587 #9E7015 #159E2C #15439E
square
#9E1587 #9E7015 #159E2C #15439E
split-complementary
#9E1587 #439E15 #159E70
monochromatic
#32072B #680E59 #9E1587 #D41CB5 #E747CC

Accessibility & contrast

On white

7.21
#9E1587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E1587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1587
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1587#FFFFFF#000000##FFFFFF
##9E15871.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#A72250
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1587;
/* rgb */ color: rgb(158, 21, 135);
/* oklch */ color: oklch(48.4% 0.201 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf68aa',
    500: '#9e1587',
    950: '#000000',
  },
}
SCSS
$custom: #9e1587;
$custom-light: #bf68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1587",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 135
  },
  "hsl": {
    "h": 310.073,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48402,
    "c": 0.2005,
    "h": 336.8
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#9E1587
secondary
#47C75D
accent
#F35535
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1587

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

Preview Lab → · Contrast checker → · Palette generator →

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