#9E1B5D#9E1B5D

#9E1B5D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.173 H 356.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9E1B5D
RGBrgb(158, 27, 93)
HSLhsl(330, 71%, 36%)
HSVhsv(330, 83%, 62%)
CMYKcmyk(0%, 82.9%, 41.1%, 38%)
CIE-LABlab(35.68, 55.97, -4.58)
CIE-LCHlch(35.68, 56.16, 355.32°)
OKLaboklab(46.84% 0.1723 -0.0114)
OKLCHoklch(46.84% 0.173 356.2)
XYZxyz(16.4695, 8.8454, 11.1939)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B5D #1B9E5C
analogous
#9E1B9E #9E1B5D #9E1B1C
triadic
#9E1B5D #5D9E1B #1B5D9E
tetradic
#9E1B5D #9E9E1B #1B9E5C #1B1C9E
square
#9E1B5D #9E9E1B #1B9E5C #1B1C9E
split-complementary
#9E1B5D #1C9E1B #1B9E9E
monochromatic
#35091F #6A123E #9E1B5D #D2247C #E1529A

Accessibility & contrast

On white

7.59
#9E1B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9E1B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B5D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B5D#FFFFFF#000000##FFFFFF
##9E1B5D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445F
Deuteranopia (green-blind)
#5D5D5A
Tritanopia (blue-blind)
#AB003A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1b5d;
/* rgb */ color: rgb(158, 27, 93);
/* oklch */ color: oklch(46.8% 0.173 356.2);
Tailwind
colors: {
  custom: {
    50: '#c0688a',
    500: '#9e1b5d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b5d;
$custom-light: #c0688a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b5d",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 329.771,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46836,
    "c": 0.1727,
    "h": 356.2
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#9E1B5D
secondary
#51C48A
accent
#EE933A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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