#9E1D4E#9E1D4E

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

Color values

HEX#9E1D4E
RGBrgb(158, 29, 78)
HSLhsl(337, 69%, 37%)
HSVhsv(337, 82%, 62%)
CMYKcmyk(0%, 81.6%, 50.6%, 38%)
CIE-LABlab(35.40, 54.04, 4.69)
CIE-LCHlch(35.40, 54.25, 4.96°)
OKLaboklab(46.47% 0.1655 0.0125)
OKLCHoklch(46.47% 0.166 4.3)
XYZxyz(15.9165, 8.7001, 8.0474)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D4E #1D9E6D
analogous
#9E1D8F #9E1D4E #9E2C1D
triadic
#9E1D4E #4E9E1D #1D4E9E
tetradic
#9E1D4E #8F9E1D #1D9E6D #2C1D9E
square
#9E1D4E #8F9E1D #1D9E6D #2C1D9E
split-complementary
#9E1D4E #1D9E2C #1D8F9E
monochromatic
#370A1B #6A1434 #9E1D4E #D22668 #E0568A

Accessibility & contrast

On white

7.67
#9E1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D4E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D4E#FFFFFF#000000##FFFFFF
##9E1D4E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#615C4B
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1d4e;
/* rgb */ color: rgb(158, 29, 78);
/* oklch */ color: oklch(46.5% 0.166 4.3);
Tailwind
colors: {
  custom: {
    50: '#c1687f',
    500: '#9e1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d4e;
$custom-light: #c1687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d4e",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 337.209,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.166,
    "h": 4.3
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#9E1D4E
secondary
#54C399
accent
#ECA93C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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