#9E1886#9E1886

#9E1886 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.5% C 0.198 H 337.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9E1886
RGBrgb(158, 24, 134)
HSLhsl(311, 74%, 36%)
HSVhsv(311, 85%, 62%)
CMYKcmyk(0%, 84.8%, 15.2%, 38%)
CIE-LABlab(37.20, 61.66, -28.12)
CIE-LCHlch(37.20, 67.77, 335.49°)
OKLaboklab(48.5% 0.1823 -0.0766)
OKLCHoklch(48.5% 0.198 337.2)
XYZxyz(18.7307, 9.6455, 23.4249)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1886 #189E30
analogous
#73189E #9E1886 #9E1843
triadic
#9E1886 #869E18 #18869E
tetradic
#9E1886 #9E7318 #189E30 #18439E
square
#9E1886 #9E7318 #189E30 #18439E
split-complementary
#9E1886 #439E18 #189E73
monochromatic
#34082C #691059 #9E1886 #D320B3 #E44DC9

Accessibility & contrast

On white

7.17
#9E1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1886
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1886#FFFFFF#000000##FFFFFF
##9E18861.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#4F5F83
Tritanopia (blue-blind)
#A72350
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1886;
/* rgb */ color: rgb(158, 24, 134);
/* oklch */ color: oklch(48.5% 0.198 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf69a9',
    500: '#9e1886',
    950: '#000000',
  },
}
SCSS
$custom: #9e1886;
$custom-light: #bf69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1886",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 310.746,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.19774,
    "h": 337.2
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#9E1886
secondary
#4CC662
accent
#F05938
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1886

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

Preview Lab → · Contrast checker → · Palette generator →

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