#9E1987#9E1987

#9E1987 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.198 H 336.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9E1987
RGBrgb(158, 25, 135)
HSLhsl(310, 73%, 36%)
HSVhsv(310, 84%, 62%)
CMYKcmyk(0%, 84.2%, 14.6%, 38%)
CIE-LABlab(37.33, 61.58, -28.54)
CIE-LCHlch(37.33, 67.87, 335.14°)
OKLaboklab(48.61% 0.1817 -0.0778)
OKLCHoklch(48.61% 0.198 336.8)
XYZxyz(18.8217, 9.7155, 23.8010)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1987 #199E30
analogous
#72199E #9E1987 #9E1944
triadic
#9E1987 #879E19 #19879E
tetradic
#9E1987 #9E7219 #199E30 #19449E
square
#9E1987 #9E7219 #199E30 #19449E
split-complementary
#9E1987 #449E19 #199E72
monochromatic
#34082D #69115A #9E1987 #D321B4 #E34EC9

Accessibility & contrast

On white

7.14
#9E1987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E1987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1987
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1987#FFFFFF#000000##FFFFFF
##9E19871.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A72451
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1987;
/* rgb */ color: rgb(158, 25, 135);
/* oklch */ color: oklch(48.6% 0.198 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf69aa',
    500: '#9e1987',
    950: '#000000',
  },
}
SCSS
$custom: #9e1987;
$custom-light: #bf69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1987",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 310.376,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.19765,
    "h": 336.8
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#9E1987
secondary
#4EC562
accent
#EF5838
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1987

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

Preview Lab → · Contrast checker → · Palette generator →

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