#9E1D4C#9E1D4C

#9E1D4C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.166 H 5.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9E1D4C
RGBrgb(158, 29, 76)
HSLhsl(338, 69%, 37%)
HSVhsv(338, 82%, 62%)
CMYKcmyk(0%, 81.6%, 51.9%, 38%)
CIE-LABlab(35.34, 53.87, 5.91)
CIE-LCHlch(35.34, 54.20, 6.26°)
OKLaboklab(46.42% 0.1648 0.0155)
OKLCHoklch(46.42% 0.166 5.4)
XYZxyz(15.8459, 8.6719, 7.6755)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D4C #1D9E6F
analogous
#9E1D8D #9E1D4C #9E2F1D
triadic
#9E1D4C #4C9E1D #1D4C9E
tetradic
#9E1D4C #8D9E1D #1D9E6F #2F1D9E
square
#9E1D4C #8D9E1D #1D9E6F #2F1D9E
split-complementary
#9E1D4C #1D9E2F #1D8D9E
monochromatic
#370A1A #6A1433 #9E1D4C #D22665 #E05688

Accessibility & contrast

On white

7.68
#9E1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9E1D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D4C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D4C#FFFFFF#000000##FFFFFF
##9E1D4C1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#615C49
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1d4c;
/* rgb */ color: rgb(158, 29, 76);
/* oklch */ color: oklch(46.4% 0.166 5.4);
Tailwind
colors: {
  custom: {
    50: '#c1687d',
    500: '#9e1d4c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d4c;
$custom-light: #c1687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d4c",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 338.14,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46415,
    "c": 0.16552,
    "h": 5.4
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#9E1D4C
secondary
#54C39B
accent
#ECAC3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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