#9E1D88#9E1D88

#9E1D88 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.9% C 0.195 H 336.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E1D88
RGBrgb(158, 29, 136)
HSLhsl(310, 69%, 37%)
HSVhsv(310, 82%, 62%)
CMYKcmyk(0%, 81.6%, 13.9%, 38%)
CIE-LABlab(37.71, 60.76, -28.55)
CIE-LCHlch(37.71, 67.13, 334.83°)
OKLaboklab(48.9% 0.1789 -0.0779)
OKLCHoklch(48.9% 0.195 336.5)
XYZxyz(18.9842, 9.9272, 24.2041)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D88 #1D9E33
analogous
#741D9E #9E1D88 #9E1D47
triadic
#9E1D88 #889E1D #1D889E
tetradic
#9E1D88 #9E741D #1D9E33 #1D479E
square
#9E1D88 #9E741D #1D9E33 #1D479E
split-complementary
#9E1D88 #479E1D #1D9E74
monochromatic
#370A2F #6A145B #9E1D88 #D226B5 #E056C8

Accessibility & contrast

On white

7.04
#9E1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D88
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D88#FFFFFF#000000##FFFFFF
##9E1D881.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8B
Deuteranopia (green-blind)
#506085
Tritanopia (blue-blind)
#A72852
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1d88;
/* rgb */ color: rgb(158, 29, 136);
/* oklch */ color: oklch(48.9% 0.195 336.5);
Tailwind
colors: {
  custom: {
    50: '#bf6aab',
    500: '#9e1d88',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d88;
$custom-light: #bf6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d88",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 310.233,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48903,
    "c": 0.19509,
    "h": 336.5
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#9E1D88
secondary
#54C367
accent
#EC5A3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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