#9E1C5A#9E1C5A

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

Color values

HEX#9E1C5A
RGBrgb(158, 28, 90)
HSLhsl(331, 70%, 36%)
HSVhsv(331, 82%, 62%)
CMYKcmyk(0%, 82.3%, 43%, 38%)
CIE-LABlab(35.67, 55.41, -2.67)
CIE-LCHlch(35.67, 55.48, 357.25°)
OKLaboklab(46.79% 0.1706 -0.0063)
OKLCHoklch(46.79% 0.171 357.9)
XYZxyz(16.3625, 8.8400, 10.5155)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C5A #1C9E60
analogous
#9E1C9B #9E1C5A #9E1F1C
triadic
#9E1C5A #5A9E1C #1C5A9E
tetradic
#9E1C5A #9B9E1C #1C9E60 #1F1C9E
square
#9E1C5A #9B9E1C #1C9E60 #1F1C9E
split-complementary
#9E1C5A #1C9E1F #1C9B9E
monochromatic
#360A1F #6A133C #9E1C5A #D22578 #E15497

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1C5A#FFFFFF#000000##FFFFFF
##9E1C5A1.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)
#3B445B
Deuteranopia (green-blind)
#5E5D57
Tritanopia (blue-blind)
#AC0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1c5a;
/* rgb */ color: rgb(158, 28, 90);
/* oklch */ color: oklch(46.8% 0.171 357.9);
Tailwind
colors: {
  custom: {
    50: '#c06888',
    500: '#9e1c5a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c5a;
$custom-light: #c06888;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c5a",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 331.385,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.17068,
    "h": 357.9
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#9E1C5A
secondary
#52C48E
accent
#ED983B
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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