#9E174D#9E174D

#9E174D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.170 H 4.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9E174D
RGBrgb(158, 23, 77)
HSLhsl(336, 75%, 35%)
HSVhsv(336, 85%, 62%)
CMYKcmyk(0%, 85.4%, 51.3%, 38%)
CIE-LABlab(34.84, 55.47, 4.54)
CIE-LCHlch(34.84, 55.66, 4.68°)
OKLaboklab(46.06% 0.1701 0.0121)
OKLCHoklch(46.06% 0.17 4.1)
XYZxyz(15.7479, 8.4200, 7.8157)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E174D #179E68
analogous
#9E1790 #9E174D #9E2417
triadic
#9E174D #4D9E17 #174D9E
tetradic
#9E174D #909E17 #179E68 #24179E
square
#9E174D #909E17 #179E68 #24179E
split-complementary
#9E174D #179E24 #17909E
monochromatic
#330719 #690F33 #9E174D #D31F67 #E54B88

Accessibility & contrast

On white

7.83
#9E174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E174D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E174D#FFFFFF#000000##FFFFFF
##9E174D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#605B4A
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e174d;
/* rgb */ color: rgb(158, 23, 77);
/* oklch */ color: oklch(46.1% 0.170 4.1);
Tailwind
colors: {
  custom: {
    50: '#c1667e',
    500: '#9e174d',
    950: '#000000',
  },
}
SCSS
$custom: #9e174d;
$custom-light: #c1667e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e174d",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 336,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46056,
    "c": 0.17049,
    "h": 4.1
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#9E174D
secondary
#4AC695
accent
#F1A737
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E174D

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

Preview Lab → · Contrast checker → · Palette generator →

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