#9E1D4A#9E1D4A

#9E1D4A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.165 H 6.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9E1D4A
RGBrgb(158, 29, 74)
HSLhsl(339, 69%, 37%)
HSVhsv(339, 82%, 62%)
CMYKcmyk(0%, 81.6%, 53.2%, 38%)
CIE-LABlab(35.29, 53.71, 7.13)
CIE-LCHlch(35.29, 54.18, 7.56°)
OKLaboklab(46.36% 0.164 0.0185)
OKLCHoklch(46.36% 0.165 6.4)
XYZxyz(15.7774, 8.6445, 7.3150)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D4A #1D9E71
analogous
#9E1D8B #9E1D4A #9E311D
triadic
#9E1D4A #4A9E1D #1D4A9E
tetradic
#9E1D4A #8B9E1D #1D9E71 #311D9E
square
#9E1D4A #8B9E1D #1D9E71 #311D9E
split-complementary
#9E1D4A #1D9E31 #1D8B9E
monochromatic
#370A1A #6A1432 #9E1D4A #D22662 #E05686

Accessibility & contrast

On white

7.70
#9E1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D4A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D4A#FFFFFF#000000##FFFFFF
##9E1D4A1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1d4a;
/* rgb */ color: rgb(158, 29, 74);
/* oklch */ color: oklch(46.4% 0.165 6.4);
Tailwind
colors: {
  custom: {
    50: '#c1687c',
    500: '#9e1d4a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d4a;
$custom-light: #c1687c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d4a",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 339.07,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.16507,
    "h": 6.4
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#9E1D4A
secondary
#54C39C
accent
#ECAE3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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