#9E1B58#9E1B58

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

Color values

HEX#9E1B58
RGBrgb(158, 27, 88)
HSLhsl(332, 71%, 36%)
HSVhsv(332, 83%, 62%)
CMYKcmyk(0%, 82.9%, 44.3%, 38%)
CIE-LABlab(35.52, 55.48, -1.61)
CIE-LCHlch(35.52, 55.50, 358.34°)
OKLaboklab(46.66% 0.1708 -0.0035)
OKLCHoklch(46.66% 0.171 358.8)
XYZxyz(16.2552, 8.7597, 10.0655)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B58 #1B9E61
analogous
#9E1B9A #9E1B58 #9E201B
triadic
#9E1B58 #589E1B #1B589E
tetradic
#9E1B58 #9A9E1B #1B9E61 #201B9E
square
#9E1B58 #9A9E1B #1B9E61 #201B9E
split-complementary
#9E1B58 #1B9E20 #1B9A9E
monochromatic
#35091E #6A123B #9E1B58 #D22475 #E15295

Accessibility & contrast

On white

7.63
#9E1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B58
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B58#FFFFFF#000000##FFFFFF
##9E1B581.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#5E5C55
Tritanopia (blue-blind)
#AC0037
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1b58;
/* rgb */ color: rgb(158, 27, 88);
/* oklch */ color: oklch(46.7% 0.171 358.8);
Tailwind
colors: {
  custom: {
    50: '#c06887',
    500: '#9e1b58',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b58;
$custom-light: #c06887;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b58",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 332.061,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.17079,
    "h": 358.8
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#9E1B58
secondary
#51C48E
accent
#EE9A3A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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