#9E2186#9E2186

#9E2186 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.190 H 337.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9E2186
RGBrgb(158, 33, 134)
HSLhsl(312, 65%, 37%)
HSVhsv(312, 79%, 62%)
CMYKcmyk(0%, 79.1%, 15.2%, 38%)
CIE-LABlab(37.99, 59.39, -26.89)
CIE-LCHlch(37.99, 65.19, 335.64°)
OKLaboklab(49.07% 0.1755 -0.0732)
OKLCHoklch(49.07% 0.19 337.4)
XYZxyz(18.9479, 10.0799, 23.4973)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2186 #219E39
analogous
#78219E #9E2186 #9E2148
triadic
#9E2186 #869E21 #21869E
tetradic
#9E2186 #9E7821 #219E39 #21489E
square
#9E2186 #9E7821 #219E39 #21489E
split-complementary
#9E2186 #489E21 #219E78
monochromatic
#390C30 #6B165B #9E2186 #D12CB1 #DD5CC4

Accessibility & contrast

On white

6.96
#9E2186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E2186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2186
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2186#FFFFFF#000000##FFFFFF
##9E21861.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D89
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#A72952
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2186;
/* rgb */ color: rgb(158, 33, 134);
/* oklch */ color: oklch(49.1% 0.190 337.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ba9',
    500: '#9e2186',
    950: '#000000',
  },
}
SCSS
$custom: #9e2186;
$custom-light: #bf6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2186",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 311.52,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.1901,
    "h": 337.4
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#9E2186
secondary
#59C16D
accent
#E8603F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E2186

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

Preview Lab → · Contrast checker → · Palette generator →

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