#9E1D5C#9E1D5C

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

Color values

HEX#9E1D5C
RGBrgb(158, 29, 92)
HSLhsl(331, 69%, 37%)
HSVhsv(331, 82%, 62%)
CMYKcmyk(0%, 81.6%, 41.8%, 38%)
CIE-LABlab(35.84, 55.34, -3.71)
CIE-LCHlch(35.84, 55.47, 356.16°)
OKLaboklab(46.93% 0.1703 -0.0091)
OKLCHoklch(46.93% 0.171 357)
XYZxyz(16.4729, 8.9227, 10.9779)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D5C #1D9E5F
analogous
#9E1D9D #9E1D5C #9E1F1D
triadic
#9E1D5C #5C9E1D #1D5C9E
tetradic
#9E1D5C #9D9E1D #1D9E5F #1F1D9E
square
#9E1D5C #9D9E1D #1D9E5F #1F1D9E
split-complementary
#9E1D5C #1D9E1F #1D9D9E
monochromatic
#370A20 #6A143E #9E1D5C #D2267A #E05699

Accessibility & contrast

On white

7.54
#9E1D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D5C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D5C#FFFFFF#000000##FFFFFF
##9E1D5C1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455D
Deuteranopia (green-blind)
#5E5D59
Tritanopia (blue-blind)
#AB013A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1d5c;
/* rgb */ color: rgb(158, 29, 92);
/* oklch */ color: oklch(46.9% 0.171 357.0);
Tailwind
colors: {
  custom: {
    50: '#c0688a',
    500: '#9e1d5c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d5c;
$custom-light: #c0688a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d5c",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 330.698,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46934,
    "c": 0.17057,
    "h": 357
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#9E1D5C
secondary
#54C38D
accent
#EC963C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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