#9E1B5C#9E1B5C

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

Color values

HEX#9E1B5C
RGBrgb(158, 27, 92)
HSLhsl(330, 71%, 36%)
HSVhsv(330, 83%, 62%)
CMYKcmyk(0%, 82.9%, 41.8%, 38%)
CIE-LABlab(35.65, 55.87, -3.99)
CIE-LCHlch(35.65, 56.01, 355.92°)
OKLaboklab(46.8% 0.172 -0.0098)
OKLCHoklch(46.8% 0.172 356.7)
XYZxyz(16.4255, 8.8278, 10.9621)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B5C #1B9E5D
analogous
#9E1B9E #9E1B5C #9E1C1B
triadic
#9E1B5C #5C9E1B #1B5C9E
tetradic
#9E1B5C #9E9E1B #1B9E5D #1C1B9E
square
#9E1B5C #9E9E1B #1B9E5D #1C1B9E
split-complementary
#9E1B5C #1B9E1C #1B9E9E
monochromatic
#35091F #6A123E #9E1B5C #D2247A #E15299

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1B5C#FFFFFF#000000##FFFFFF
##9E1B5C1.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)
#3A445E
Deuteranopia (green-blind)
#5D5C59
Tritanopia (blue-blind)
#AB003A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1b5c;
/* rgb */ color: rgb(158, 27, 92);
/* oklch */ color: oklch(46.8% 0.172 356.7);
Tailwind
colors: {
  custom: {
    50: '#c0688a',
    500: '#9e1b5c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b5c;
$custom-light: #c0688a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b5c",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 330.229,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.468,
    "c": 0.1723,
    "h": 356.7
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#9E1B5C
secondary
#51C48B
accent
#EE953A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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