#9E1D51#9E1D51

#9E1D51 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.167 H 2.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9E1D51
RGBrgb(158, 29, 81)
HSLhsl(336, 69%, 37%)
HSVhsv(336, 82%, 62%)
CMYKcmyk(0%, 81.6%, 48.7%, 38%)
CIE-LABlab(35.49, 54.30, 2.87)
CIE-LCHlch(35.49, 54.38, 3.03°)
OKLaboklab(46.57% 0.1666 0.0079)
OKLCHoklch(46.57% 0.167 2.7)
XYZxyz(16.0265, 8.7441, 8.6269)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D51 #1D9E6A
analogous
#9E1D92 #9E1D51 #9E2A1D
triadic
#9E1D51 #519E1D #1D519E
tetradic
#9E1D51 #929E1D #1D9E6A #2A1D9E
square
#9E1D51 #929E1D #1D9E6A #2A1D9E
split-complementary
#9E1D51 #1D9E2A #1D929E
monochromatic
#370A1C #6A1436 #9E1D51 #D2266C #E0568D

Accessibility & contrast

On white

7.64
#9E1D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D51
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D51#FFFFFF#000000##FFFFFF
##9E1D511.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4452
Deuteranopia (green-blind)
#605C4E
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1d51;
/* rgb */ color: rgb(158, 29, 81);
/* oklch */ color: oklch(46.6% 0.167 2.7);
Tailwind
colors: {
  custom: {
    50: '#c06881',
    500: '#9e1d51',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d51;
$custom-light: #c06881;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d51",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 81
  },
  "hsl": {
    "h": 335.814,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.16682,
    "h": 2.7
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#9E1D51
secondary
#54C396
accent
#ECA53C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1D51

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

Preview Lab → · Contrast checker → · Palette generator →

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