#9E1B88#9E1B88

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

Color values

HEX#9E1B88
RGBrgb(158, 27, 136)
HSLhsl(310, 71%, 36%)
HSVhsv(310, 83%, 62%)
CMYKcmyk(0%, 82.9%, 13.9%, 38%)
CIE-LABlab(37.54, 61.25, -28.82)
CIE-LCHlch(37.54, 67.69, 334.80°)
OKLaboklab(48.78% 0.1803 -0.0787)
OKLCHoklch(48.78% 0.197 336.4)
XYZxyz(18.9368, 9.8324, 24.1883)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B88 #1B9E31
analogous
#731B9E #9E1B88 #9E1B47
triadic
#9E1B88 #889E1B #1B889E
tetradic
#9E1B88 #9E731B #1B9E31 #1B479E
square
#9E1B88 #9E731B #1B9E31 #1B479E
split-complementary
#9E1B88 #479E1B #1B9E73
monochromatic
#35092E #6A125B #9E1B88 #D224B5 #E152C9

Accessibility & contrast

On white

7.08
#9E1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B88
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B88#FFFFFF#000000##FFFFFF
##9E1B881.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8B
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#A72652
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1b88;
/* rgb */ color: rgb(158, 27, 136);
/* oklch */ color: oklch(48.8% 0.197 336.4);
Tailwind
colors: {
  custom: {
    50: '#bf6aab',
    500: '#9e1b88',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b88;
$custom-light: #bf6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b88",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 310.076,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4878,
    "c": 0.19675,
    "h": 336.4
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

primary
#9E1B88
secondary
#51C464
accent
#EE583A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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