#9E1D5B#9E1D5B

#9E1D5B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.170 H 357.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9E1D5B
RGBrgb(158, 29, 91)
HSLhsl(331, 69%, 37%)
HSVhsv(331, 82%, 62%)
CMYKcmyk(0%, 81.6%, 42.4%, 38%)
CIE-LABlab(35.80, 55.24, -3.12)
CIE-LCHlch(35.80, 55.33, 356.77°)
OKLaboklab(46.9% 0.17 -0.0075)
OKLCHoklch(46.9% 0.17 357.5)
XYZxyz(16.4295, 8.9053, 10.7492)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D5B #1D9E60
analogous
#9E1D9C #9E1D5B #9E201D
triadic
#9E1D5B #5B9E1D #1D5B9E
tetradic
#9E1D5B #9C9E1D #1D9E60 #201D9E
square
#9E1D5B #9C9E1D #1D9E60 #201D9E
split-complementary
#9E1D5B #1D9E20 #1D9C9E
monochromatic
#370A1F #6A143D #9E1D5B #D22679 #E05698

Accessibility & contrast

On white

7.55
#9E1D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9E1D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D5B
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D5B#FFFFFF#000000##FFFFFF
##9E1D5B1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455C
Deuteranopia (green-blind)
#5E5D58
Tritanopia (blue-blind)
#AB003A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1d5b;
/* rgb */ color: rgb(158, 29, 91);
/* oklch */ color: oklch(46.9% 0.170 357.5);
Tailwind
colors: {
  custom: {
    50: '#c06889',
    500: '#9e1d5b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d5b;
$custom-light: #c06889;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d5b",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 331.163,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.17019,
    "h": 357.5
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#9E1D5B
secondary
#54C38E
accent
#EC973C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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