#9E2486#9E2486

#9E2486 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.187 H 337.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9E2486
RGBrgb(158, 36, 134)
HSLhsl(312, 63%, 38%)
HSVhsv(312, 77%, 62%)
CMYKcmyk(0%, 77.2%, 15.2%, 38%)
CIE-LABlab(38.29, 58.51, -26.40)
CIE-LCHlch(38.29, 64.19, 335.71°)
OKLaboklab(49.29% 0.1728 -0.0718)
OKLCHoklch(49.29% 0.187 337.4)
XYZxyz(19.0349, 10.2539, 23.5264)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2486 #249E3C
analogous
#79249E #9E2486 #9E2449
triadic
#9E2486 #869E24 #24869E
tetradic
#9E2486 #9E7924 #249E3C #24499E
square
#9E2486 #9E7924 #249E3C #24499E
split-complementary
#9E2486 #499E24 #249E79
monochromatic
#3A0D31 #6C195C #9E2486 #D02FB0 #DB61C3

Accessibility & contrast

On white

6.88
#9E2486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E2486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2486
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2486#FFFFFF#000000##FFFFFF
##9E24861.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E89
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#A72C53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2486;
/* rgb */ color: rgb(158, 36, 134);
/* oklch */ color: oklch(49.3% 0.187 337.4);
Tailwind
colors: {
  custom: {
    50: '#be6da9',
    500: '#9e2486',
    950: '#000000',
  },
}
SCSS
$custom: #9e2486;
$custom-light: #be6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2486",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 311.803,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.18713,
    "h": 337.4
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#9E2486
secondary
#5EC071
accent
#E66242
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E2486

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

Preview Lab → · Contrast checker → · Palette generator →

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