#9E1A87#9E1A87

#9E1A87 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.197 H 336.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9E1A87
RGBrgb(158, 26, 135)
HSLhsl(310, 72%, 36%)
HSVhsv(310, 84%, 62%)
CMYKcmyk(0%, 83.5%, 14.6%, 38%)
CIE-LABlab(37.41, 61.35, -28.41)
CIE-LCHlch(37.41, 67.61, 335.15°)
OKLaboklab(48.67% 0.181 -0.0775)
OKLCHoklch(48.67% 0.197 336.8)
XYZxyz(18.8435, 9.7590, 23.8083)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A87 #1A9E31
analogous
#731A9E #9E1A87 #9E1A45
triadic
#9E1A87 #879E1A #1A879E
tetradic
#9E1A87 #9E731A #1A9E31 #1A459E
square
#9E1A87 #9E731A #1A9E31 #1A459E
split-complementary
#9E1A87 #459E1A #1A9E73
monochromatic
#35092D #69115A #9E1A87 #D323B4 #E250C9

Accessibility & contrast

On white

7.12
#9E1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A87
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A87#FFFFFF#000000##FFFFFF
##9E1A871.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A72551
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1a87;
/* rgb */ color: rgb(158, 26, 135);
/* oklch */ color: oklch(48.7% 0.197 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf69aa',
    500: '#9e1a87',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a87;
$custom-light: #bf69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a87",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 310.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.19688,
    "h": 336.8
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#9E1A87
secondary
#4FC564
accent
#EE5939
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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