#9E1583#9E1583

#9E1583 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.2% C 0.198 H 338.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9E1583
RGBrgb(158, 21, 131)
HSLhsl(312, 77%, 35%)
HSVhsv(312, 87%, 62%)
CMYKcmyk(0%, 86.7%, 17.1%, 38%)
CIE-LABlab(36.83, 61.88, -26.84)
CIE-LCHlch(36.83, 67.45, 336.55°)
OKLaboklab(48.19% 0.184 -0.073)
OKLCHoklch(48.19% 0.198 338.4)
XYZxyz(18.4659, 9.4460, 22.3191)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1583 #159E30
analogous
#75159E #9E1583 #9E153E
triadic
#9E1583 #839E15 #15839E
tetradic
#9E1583 #9E7515 #159E30 #153E9E
square
#9E1583 #9E7515 #159E30 #153E9E
split-complementary
#9E1583 #3E9E15 #159E75
monochromatic
#320729 #680E56 #9E1583 #D41CB0 #E747C7

Accessibility & contrast

On white

7.27
#9E1583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1583
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1583#FFFFFF#000000##FFFFFF
##9E15831.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#A71F4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1583;
/* rgb */ color: rgb(158, 21, 131);
/* oklch */ color: oklch(48.2% 0.198 338.4);
Tailwind
colors: {
  custom: {
    50: '#bf68a7',
    500: '#9e1583',
    950: '#000000',
  },
}
SCSS
$custom: #9e1583;
$custom-light: #bf68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1583",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 311.825,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.19791,
    "h": 338.4
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#9E1583
secondary
#47C761
accent
#F35A35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1583

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

Preview Lab → · Contrast checker → · Palette generator →

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