#9E1580#9E1580

#9E1580 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.196 H 339.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9E1580
RGBrgb(158, 21, 128)
HSLhsl(313, 77%, 35%)
HSVhsv(313, 87%, 62%)
CMYKcmyk(0%, 86.7%, 19%, 38%)
CIE-LABlab(36.68, 61.47, -25.21)
CIE-LCHlch(36.68, 66.44, 337.70°)
OKLaboklab(48.03% 0.1837 -0.0683)
OKLCHoklch(48.03% 0.196 339.6)
XYZxyz(18.2656, 9.3659, 21.2637)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1580 #159E33
analogous
#78159E #9E1580 #9E153B
triadic
#9E1580 #809E15 #15809E
tetradic
#9E1580 #9E7815 #159E33 #153B9E
square
#9E1580 #9E7815 #159E33 #153B9E
split-complementary
#9E1580 #3B9E15 #159E78
monochromatic
#320728 #680E54 #9E1580 #D41CAC #E747C4

Accessibility & contrast

On white

7.31
#9E1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1580
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1580#FFFFFF#000000##FFFFFF
##9E15801.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#515E7D
Tritanopia (blue-blind)
#A81D4C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1580;
/* rgb */ color: rgb(158, 21, 128);
/* oklch */ color: oklch(48.0% 0.196 339.6);
Tailwind
colors: {
  custom: {
    50: '#bf68a5',
    500: '#9e1580',
    950: '#000000',
  },
}
SCSS
$custom: #9e1580;
$custom-light: #bf68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1580",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 313.139,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.196,
    "h": 339.6
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#9E1580
secondary
#47C763
accent
#F35E35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1580

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

Preview Lab → · Contrast checker → · Palette generator →

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