#9E1B5A#9E1B5A

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

Color values

HEX#9E1B5A
RGBrgb(158, 27, 90)
HSLhsl(331, 71%, 36%)
HSVhsv(331, 83%, 62%)
CMYKcmyk(0%, 82.9%, 43%, 38%)
CIE-LABlab(35.58, 55.67, -2.80)
CIE-LCHlch(35.58, 55.74, 357.12°)
OKLaboklab(46.73% 0.1714 -0.0067)
OKLCHoklch(46.73% 0.172 357.8)
XYZxyz(16.3392, 8.7933, 10.5078)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B5A #1B9E5F
analogous
#9E1B9C #9E1B5A #9E1E1B
triadic
#9E1B5A #5A9E1B #1B5A9E
tetradic
#9E1B5A #9C9E1B #1B9E5F #1E1B9E
square
#9E1B5A #9C9E1B #1B9E5F #1E1B9E
split-complementary
#9E1B5A #1B9E1E #1B9C9E
monochromatic
#35091E #6A123C #9E1B5A #D22478 #E15297

Accessibility & contrast

On white

7.61
#9E1B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B5A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B5A#FFFFFF#000000##FFFFFF
##9E1B5A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445B
Deuteranopia (green-blind)
#5E5C57
Tritanopia (blue-blind)
#AC0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1b5a;
/* rgb */ color: rgb(158, 27, 90);
/* oklch */ color: oklch(46.7% 0.172 357.8);
Tailwind
colors: {
  custom: {
    50: '#c06888',
    500: '#9e1b5a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b5a;
$custom-light: #c06888;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b5a",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 331.145,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.17152,
    "h": 357.8
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#9E1B5A
secondary
#51C48D
accent
#EE973A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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