#9E1B86#9E1B86

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

Color values

HEX#9E1B86
RGBrgb(158, 27, 134)
HSLhsl(311, 71%, 36%)
HSVhsv(311, 83%, 62%)
CMYKcmyk(0%, 82.9%, 15.2%, 38%)
CIE-LABlab(37.44, 60.97, -27.74)
CIE-LCHlch(37.44, 66.99, 335.53°)
OKLaboklab(48.67% 0.1802 -0.0756)
OKLCHoklch(48.67% 0.195 337.2)
XYZxyz(18.7960, 9.7760, 23.4467)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B86 #1B9E33
analogous
#751B9E #9E1B86 #9E1B45
triadic
#9E1B86 #869E1B #1B869E
tetradic
#9E1B86 #9E751B #1B9E33 #1B459E
square
#9E1B86 #9E751B #1B9E33 #1B459E
split-complementary
#9E1B86 #459E1B #1B9E75
monochromatic
#35092D #6A125A #9E1B86 #D224B2 #E152C7

Accessibility & contrast

On white

7.11
#9E1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B86
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B86#FFFFFF#000000##FFFFFF
##9E1B861.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A72551
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1b86;
/* rgb */ color: rgb(158, 27, 134);
/* oklch */ color: oklch(48.7% 0.195 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf69a9',
    500: '#9e1b86',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b86;
$custom-light: #bf69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b86",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 310.992,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.19541,
    "h": 337.2
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#9E1B86
secondary
#51C466
accent
#EE5B3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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