#9E1D5A#9E1D5A

#9E1D5A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.170 H 358.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9E1D5A
RGBrgb(158, 29, 90)
HSLhsl(332, 69%, 37%)
HSVhsv(332, 82%, 62%)
CMYKcmyk(0%, 81.6%, 43%, 38%)
CIE-LABlab(35.77, 55.14, -2.53)
CIE-LCHlch(35.77, 55.20, 357.38°)
OKLaboklab(46.86% 0.1697 -0.006)
OKLCHoklch(46.86% 0.17 358)
XYZxyz(16.3866, 8.8882, 10.5236)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D5A #1D9E61
analogous
#9E1D9B #9E1D5A #9E211D
triadic
#9E1D5A #5A9E1D #1D5A9E
tetradic
#9E1D5A #9B9E1D #1D9E61 #211D9E
square
#9E1D5A #9B9E1D #1D9E61 #211D9E
split-complementary
#9E1D5A #1D9E21 #1D9B9E
monochromatic
#370A1F #6A143D #9E1D5A #D22677 #E05697

Accessibility & contrast

On white

7.56
#9E1D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9E1D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D5A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D5A#FFFFFF#000000##FFFFFF
##9E1D5A1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455B
Deuteranopia (green-blind)
#5E5D57
Tritanopia (blue-blind)
#AC0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1d5a;
/* rgb */ color: rgb(158, 29, 90);
/* oklch */ color: oklch(46.9% 0.170 358.0);
Tailwind
colors: {
  custom: {
    50: '#c06888',
    500: '#9e1d5a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d5a;
$custom-light: #c06888;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d5a",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 331.628,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.1698,
    "h": 358
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#9E1D5A
secondary
#54C38E
accent
#EC993C
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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