#9E1584#9E1584

#9E1584 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 338.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9E1584
RGBrgb(158, 21, 132)
HSLhsl(311, 77%, 35%)
HSVhsv(311, 87%, 62%)
CMYKcmyk(0%, 86.7%, 16.5%, 38%)
CIE-LABlab(36.88, 62.01, -27.38)
CIE-LCHlch(36.88, 67.79, 336.18°)
OKLaboklab(48.24% 0.184 -0.0745)
OKLCHoklch(48.24% 0.199 338)
XYZxyz(18.5340, 9.4733, 22.6778)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1584 #159E2F
analogous
#74159E #9E1584 #9E153F
triadic
#9E1584 #849E15 #15849E
tetradic
#9E1584 #9E7415 #159E2F #153F9E
square
#9E1584 #9E7415 #159E2F #153F9E
split-complementary
#9E1584 #3F9E15 #159E74
monochromatic
#32072A #680E57 #9E1584 #D41CB1 #E747C8

Accessibility & contrast

On white

7.26
#9E1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1584
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1584#FFFFFF#000000##FFFFFF
##9E15841.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A7204E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1584;
/* rgb */ color: rgb(158, 21, 132);
/* oklch */ color: oklch(48.2% 0.199 338.0);
Tailwind
colors: {
  custom: {
    50: '#bf68a8',
    500: '#9e1584',
    950: '#000000',
  },
}
SCSS
$custom: #9e1584;
$custom-light: #bf68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1584",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 311.387,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48242,
    "c": 0.19855,
    "h": 338
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#9E1584
secondary
#47C760
accent
#F35935
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1584

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

Preview Lab → · Contrast checker → · Palette generator →

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