#9E1B87#9E1B87

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

Color values

HEX#9E1B87
RGBrgb(158, 27, 135)
HSLhsl(311, 71%, 36%)
HSVhsv(311, 83%, 62%)
CMYKcmyk(0%, 82.9%, 14.6%, 38%)
CIE-LABlab(37.49, 61.11, -28.28)
CIE-LCHlch(37.49, 67.34, 335.17°)
OKLaboklab(48.73% 0.1803 -0.0771)
OKLCHoklch(48.73% 0.196 336.8)
XYZxyz(18.8660, 9.8041, 23.8158)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B87 #1B9E32
analogous
#741B9E #9E1B87 #9E1B46
triadic
#9E1B87 #879E1B #1B879E
tetradic
#9E1B87 #9E741B #1B9E32 #1B469E
square
#9E1B87 #9E741B #1B9E32 #1B469E
split-complementary
#9E1B87 #469E1B #1B9E74
monochromatic
#35092E #6A125A #9E1B87 #D224B4 #E152C8

Accessibility & contrast

On white

7.09
#9E1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9E1B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B87
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B87#FFFFFF#000000##FFFFFF
##9E1B871.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1b87;
/* rgb */ color: rgb(158, 27, 135);
/* oklch */ color: oklch(48.7% 0.196 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf6aaa',
    500: '#9e1b87',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b87;
$custom-light: #bf6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b87",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 310.534,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.19607,
    "h": 336.8
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#9E1B87
secondary
#51C465
accent
#EE5A3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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