#9E1B5B#9E1B5B

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

Color values

HEX#9E1B5B
RGBrgb(158, 27, 91)
HSLhsl(331, 71%, 36%)
HSVhsv(331, 83%, 62%)
CMYKcmyk(0%, 82.9%, 42.4%, 38%)
CIE-LABlab(35.62, 55.77, -3.39)
CIE-LCHlch(35.62, 55.87, 356.52°)
OKLaboklab(46.76% 0.1717 -0.0082)
OKLCHoklch(46.76% 0.172 357.3)
XYZxyz(16.3821, 8.8105, 10.7334)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B5B #1B9E5E
analogous
#9E1B9D #9E1B5B #9E1D1B
triadic
#9E1B5B #5B9E1B #1B5B9E
tetradic
#9E1B5B #9D9E1B #1B9E5E #1D1B9E
square
#9E1B5B #9D9E1B #1B9E5E #1D1B9E
split-complementary
#9E1B5B #1B9E1D #1B9D9E
monochromatic
#35091F #6A123D #9E1B5B #D22479 #E15298

Accessibility & contrast

On white

7.60
#9E1B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E1B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B5B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B5B#FFFFFF#000000##FFFFFF
##9E1B5B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#5E5C58
Tritanopia (blue-blind)
#AB0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1b5b;
/* rgb */ color: rgb(158, 27, 91);
/* oklch */ color: oklch(46.8% 0.172 357.3);
Tailwind
colors: {
  custom: {
    50: '#c06889',
    500: '#9e1b5b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b5b;
$custom-light: #c06889;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b5b",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 330.687,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.17191,
    "h": 357.3
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#9E1B5B
secondary
#51C48C
accent
#EE963A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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