#9E1582#9E1582

#9E1582 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.197 H 338.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9E1582
RGBrgb(158, 21, 130)
HSLhsl(312, 77%, 35%)
HSVhsv(312, 87%, 62%)
CMYKcmyk(0%, 86.7%, 17.7%, 38%)
CIE-LABlab(36.78, 61.74, -26.30)
CIE-LCHlch(36.78, 67.11, 336.93°)
OKLaboklab(48.14% 0.1839 -0.0714)
OKLCHoklch(48.14% 0.197 338.8)
XYZxyz(18.3985, 9.4190, 21.9639)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1582 #159E31
analogous
#76159E #9E1582 #9E153D
triadic
#9E1582 #829E15 #15829E
tetradic
#9E1582 #9E7615 #159E31 #153D9E
square
#9E1582 #9E7615 #159E31 #153D9E
split-complementary
#9E1582 #3D9E15 #159E76
monochromatic
#320729 #680E56 #9E1582 #D41CAE #E747C6

Accessibility & contrast

On white

7.28
#9E1582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E1582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1582
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1582#FFFFFF#000000##FFFFFF
##9E15821.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204985
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#A71E4D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1582;
/* rgb */ color: rgb(158, 21, 130);
/* oklch */ color: oklch(48.1% 0.197 338.8);
Tailwind
colors: {
  custom: {
    50: '#bf68a6',
    500: '#9e1582',
    950: '#000000',
  },
}
SCSS
$custom: #9e1582;
$custom-light: #bf68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1582",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 312.263,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48137,
    "c": 0.19727,
    "h": 338.8
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#9E1582
secondary
#47C762
accent
#F35C35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1582

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

Preview Lab → · Contrast checker → · Palette generator →

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