#9E1B57#9E1B57

#9E1B57 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.170 H 359.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9E1B57
RGBrgb(158, 27, 87)
HSLhsl(333, 71%, 36%)
HSVhsv(333, 83%, 62%)
CMYKcmyk(0%, 82.9%, 44.9%, 38%)
CIE-LABlab(35.49, 55.38, -1.01)
CIE-LCHlch(35.49, 55.39, 358.95°)
OKLaboklab(46.63% 0.1704 -0.002)
OKLCHoklch(46.63% 0.17 359.3)
XYZxyz(16.2141, 8.7433, 9.8488)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B57 #1B9E62
analogous
#9E1B99 #9E1B57 #9E211B
triadic
#9E1B57 #579E1B #1B579E
tetradic
#9E1B57 #999E1B #1B9E62 #211B9E
square
#9E1B57 #999E1B #1B9E62 #211B9E
split-complementary
#9E1B57 #1B9E21 #1B999E
monochromatic
#35091D #6A123A #9E1B57 #D22474 #E15294

Accessibility & contrast

On white

7.64
#9E1B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E1B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B57
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B57#FFFFFF#000000##FFFFFF
##9E1B571.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4458
Deuteranopia (green-blind)
#5F5C54
Tritanopia (blue-blind)
#AC0037
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1b57;
/* rgb */ color: rgb(158, 27, 87);
/* oklch */ color: oklch(46.6% 0.170 359.3);
Tailwind
colors: {
  custom: {
    50: '#c06886',
    500: '#9e1b57',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b57;
$custom-light: #c06886;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b57",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 332.519,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.17043,
    "h": 359.3
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#9E1B57
secondary
#51C48F
accent
#EE9B3A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1B57

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

Preview Lab → · Contrast checker → · Palette generator →

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