#9E2E8A#9E2E8A

#9E2E8A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 336.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9E2E8A
RGBrgb(158, 46, 138)
HSLhsl(311, 55%, 40%)
HSVhsv(311, 71%, 62%)
CMYKcmyk(0%, 70.9%, 12.7%, 38%)
CIE-LABlab(39.68, 55.72, -26.69)
CIE-LCHlch(39.68, 61.79, 334.40°)
OKLaboklab(50.36% 0.1632 -0.0727)
OKLCHoklch(50.36% 0.179 336)
XYZxyz(19.6653, 11.0598, 25.1389)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E8A #2E9E42
analogous
#7A2E9E #9E2E8A #9E2E52
triadic
#9E2E8A #8A9E2E #2E8A9E
tetradic
#9E2E8A #9E7A2E #2E9E42 #2E529E
square
#9E2E8A #9E7A2E #2E9E42 #2E529E
split-complementary
#9E2E8A #529E2E #2E9E7A
monochromatic
#3F1237 #6F2061 #9E2E8A #C841B0 #D671C4

Accessibility & contrast

On white

6.54
#9E2E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E2E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E8A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E8A#FFFFFF#000000##FFFFFF
##9E2E8A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#556487
Tritanopia (blue-blind)
#A63558
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2e8a;
/* rgb */ color: rgb(158, 46, 138);
/* oklch */ color: oklch(50.4% 0.179 336.0);
Tailwind
colors: {
  custom: {
    50: '#be71ac',
    500: '#9e2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e8a;
$custom-light: #be71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e8a",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 310.714,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.17863,
    "h": 336
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#9E2E8A
secondary
#6BBD79
accent
#DE644A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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