#9E2589#9E2589

#9E2589 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.188 H 336.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9E2589
RGBrgb(158, 37, 137)
HSLhsl(310, 62%, 38%)
HSVhsv(310, 77%, 62%)
CMYKcmyk(0%, 76.6%, 13.3%, 38%)
CIE-LABlab(38.55, 58.64, -27.85)
CIE-LCHlch(38.55, 64.91, 334.60°)
OKLaboklab(49.52% 0.1722 -0.0759)
OKLCHoklch(49.52% 0.188 336.2)
XYZxyz(19.2778, 10.4002, 24.6542)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2589 #259E3A
analogous
#76259E #9E2589 #9E254C
triadic
#9E2589 #899E25 #25899E
tetradic
#9E2589 #9E7625 #259E3A #254C9E
square
#9E2589 #9E7625 #259E3A #254C9E
split-complementary
#9E2589 #4C9E25 #259E76
monochromatic
#3B0E33 #6C195E #9E2589 #CF31B4 #DA63C6

Accessibility & contrast

On white

6.82
#9E2589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E2589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2589
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2589#FFFFFF#000000##FFFFFF
##9E25891.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8C
Deuteranopia (green-blind)
#526186
Tritanopia (blue-blind)
#A62E55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2589;
/* rgb */ color: rgb(158, 37, 137);
/* oklch */ color: oklch(49.5% 0.188 336.2);
Tailwind
colors: {
  custom: {
    50: '#be6dac',
    500: '#9e2589',
    950: '#000000',
  },
}
SCSS
$custom: #9e2589;
$custom-light: #be6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2589",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 310.413,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49523,
    "c": 0.18817,
    "h": 336.2
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#9E2589
secondary
#5FC070
accent
#E55F43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2589

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

Preview Lab → · Contrast checker → · Palette generator →

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