#9E1D86#9E1D86

#9E1D86 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.194 H 337.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9E1D86
RGBrgb(158, 29, 134)
HSLhsl(311, 69%, 37%)
HSVhsv(311, 82%, 62%)
CMYKcmyk(0%, 81.6%, 15.2%, 38%)
CIE-LABlab(37.61, 60.47, -27.47)
CIE-LCHlch(37.61, 66.42, 335.57°)
OKLaboklab(48.8% 0.1787 -0.0748)
OKLCHoklch(48.8% 0.194 337.3)
XYZxyz(18.8434, 9.8709, 23.4625)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D86 #1D9E35
analogous
#761D9E #9E1D86 #9E1D46
triadic
#9E1D86 #869E1D #1D869E
tetradic
#9E1D86 #9E761D #1D9E35 #1D469E
square
#9E1D86 #9E761D #1D9E35 #1D469E
split-complementary
#9E1D86 #469E1D #1D9E76
monochromatic
#370A2E #6A145A #9E1D86 #D226B2 #E056C6

Accessibility & contrast

On white

7.06
#9E1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D86
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D86#FFFFFF#000000##FFFFFF
##9E1D861.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#515F83
Tritanopia (blue-blind)
#A72651
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1d86;
/* rgb */ color: rgb(158, 29, 134);
/* oklch */ color: oklch(48.8% 0.194 337.3);
Tailwind
colors: {
  custom: {
    50: '#bf6aa9',
    500: '#9e1d86',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d86;
$custom-light: #bf6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d86",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 311.163,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.19374,
    "h": 337.3
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#9E1D86
secondary
#54C368
accent
#EC5D3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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