#9E1F86#9E1F86

#9E1F86 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.192 H 337.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9E1F86
RGBrgb(158, 31, 134)
HSLhsl(311, 67%, 37%)
HSVhsv(311, 80%, 62%)
CMYKcmyk(0%, 80.4%, 15.2%, 38%)
CIE-LABlab(37.79, 59.95, -27.19)
CIE-LCHlch(37.79, 65.82, 335.60°)
OKLaboklab(48.93% 0.1771 -0.074)
OKLCHoklch(48.93% 0.192 337.3)
XYZxyz(18.8940, 9.9721, 23.4794)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F86 #1F9E37
analogous
#771F9E #9E1F86 #9E1F46
triadic
#9E1F86 #869E1F #1F869E
tetradic
#9E1F86 #9E771F #1F9E37 #1F469E
square
#9E1F86 #9E771F #1F9E37 #1F469E
split-complementary
#9E1F86 #469E1F #1F9E77
monochromatic
#380B2F #6B155B #9E1F86 #D129B1 #DE59C5

Accessibility & contrast

On white

7.01
#9E1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F86
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F86#FFFFFF#000000##FFFFFF
##9E1F861.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#516083
Tritanopia (blue-blind)
#A72852
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1f86;
/* rgb */ color: rgb(158, 31, 134);
/* oklch */ color: oklch(48.9% 0.192 337.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ba9',
    500: '#9e1f86',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f86;
$custom-light: #bf6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f86",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 311.339,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.19197,
    "h": 337.3
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#9E1F86
secondary
#56C26B
accent
#EA5E3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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