#9E1758#9E1758

#9E1758 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.174 H 358.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9E1758
RGBrgb(158, 23, 88)
HSLhsl(331, 75%, 35%)
HSVhsv(331, 85%, 62%)
CMYKcmyk(0%, 85.4%, 44.3%, 38%)
CIE-LABlab(35.18, 56.45, -2.10)
CIE-LCHlch(35.18, 56.49, 357.86°)
OKLaboklab(46.41% 0.1739 -0.0048)
OKLCHoklch(46.41% 0.174 358.4)
XYZxyz(16.1697, 8.5887, 10.0369)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1758 #179E5D
analogous
#9E179B #9E1758 #9E1917
triadic
#9E1758 #589E17 #17589E
tetradic
#9E1758 #9B9E17 #179E5D #19179E
square
#9E1758 #9B9E17 #179E5D #19179E
split-complementary
#9E1758 #179E19 #179B9E
monochromatic
#33071C #690F3A #9E1758 #D31F76 #E54B95

Accessibility & contrast

On white

7.73
#9E1758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E1758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1758
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1758#FFFFFF#000000##FFFFFF
##9E17581.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394359
Deuteranopia (green-blind)
#5E5C55
Tritanopia (blue-blind)
#AC0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1758;
/* rgb */ color: rgb(158, 23, 88);
/* oklch */ color: oklch(46.4% 0.174 358.4);
Tailwind
colors: {
  custom: {
    50: '#c06687',
    500: '#9e1758',
    950: '#000000',
  },
}
SCSS
$custom: #9e1758;
$custom-light: #c06687;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1758",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 331.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.17393,
    "h": 358.4
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#9E1758
secondary
#4AC68B
accent
#F19737
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1758

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

Preview Lab → · Contrast checker → · Palette generator →

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