#9E1887#9E1887

#9E1887 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.16:1 contrast (WCAG AA passes).

Color values

HEX#9E1887
RGBrgb(158, 24, 135)
HSLhsl(310, 74%, 36%)
HSVhsv(310, 85%, 62%)
CMYKcmyk(0%, 84.8%, 14.6%, 38%)
CIE-LABlab(37.25, 61.80, -28.66)
CIE-LCHlch(37.25, 68.12, 335.12°)
OKLaboklab(48.56% 0.1824 -0.0782)
OKLCHoklch(48.56% 0.198 336.8)
XYZxyz(18.8008, 9.6735, 23.7940)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1887 #189E2F
analogous
#72189E #9E1887 #9E1844
triadic
#9E1887 #879E18 #18879E
tetradic
#9E1887 #9E7218 #189E2F #18449E
square
#9E1887 #9E7218 #189E2F #18449E
split-complementary
#9E1887 #449E18 #189E72
monochromatic
#34082C #69105A #9E1887 #D320B4 #E44DCA

Accessibility & contrast

On white

7.16
#9E1887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E1887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1887
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1887#FFFFFF#000000##FFFFFF
##9E18871.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1887;
/* rgb */ color: rgb(158, 24, 135);
/* oklch */ color: oklch(48.6% 0.198 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf69aa',
    500: '#9e1887',
    950: '#000000',
  },
}
SCSS
$custom: #9e1887;
$custom-light: #bf69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1887",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 310.299,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.1984,
    "h": 336.8
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#9E1887
secondary
#4CC661
accent
#F05738
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1887

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

Preview Lab → · Contrast checker → · Palette generator →

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