#9E1C4A#9E1C4A

#9E1C4A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.166 H 6.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9E1C4A
RGBrgb(158, 28, 74)
HSLhsl(339, 70%, 36%)
HSVhsv(339, 82%, 62%)
CMYKcmyk(0%, 82.3%, 53.2%, 38%)
CIE-LABlab(35.20, 53.98, 6.99)
CIE-LCHlch(35.20, 54.43, 7.38°)
OKLaboklab(46.29% 0.1649 0.0181)
OKLCHoklch(46.29% 0.166 6.3)
XYZxyz(15.7533, 8.5963, 7.3070)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C4A #1C9E70
analogous
#9E1C8B #9E1C4A #9E2F1C
triadic
#9E1C4A #4A9E1C #1C4A9E
tetradic
#9E1C4A #8B9E1C #1C9E70 #2F1C9E
square
#9E1C4A #8B9E1C #1C9E70 #2F1C9E
split-complementary
#9E1C4A #1C9E2F #1C8B9E
monochromatic
#360A19 #6A1332 #9E1C4A #D22562 #E15486

Accessibility & contrast

On white

7.72
#9E1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E1C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1C4A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C4A#FFFFFF#000000##FFFFFF
##9E1C4A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1c4a;
/* rgb */ color: rgb(158, 28, 74);
/* oklch */ color: oklch(46.3% 0.166 6.3);
Tailwind
colors: {
  custom: {
    50: '#c1687c',
    500: '#9e1c4a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c4a;
$custom-light: #c1687c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c4a",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 338.769,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.1659,
    "h": 6.3
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#9E1C4A
secondary
#52C49C
accent
#EDAE3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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