#9E174C#9E174C

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

Color values

HEX#9E174C
RGBrgb(158, 23, 76)
HSLhsl(336, 75%, 35%)
HSVhsv(336, 85%, 62%)
CMYKcmyk(0%, 85.4%, 51.9%, 38%)
CIE-LABlab(34.81, 55.39, 5.15)
CIE-LCHlch(34.81, 55.63, 5.31°)
OKLaboklab(46.03% 0.1697 0.0136)
OKLCHoklch(46.03% 0.17 4.6)
XYZxyz(15.7129, 8.4060, 7.6312)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E174C #179E69
analogous
#9E1790 #9E174C #9E2517
triadic
#9E174C #4C9E17 #174C9E
tetradic
#9E174C #909E17 #179E69 #25179E
square
#9E174C #909E17 #179E69 #25179E
split-complementary
#9E174C #179E25 #17909E
monochromatic
#330719 #690F32 #9E174C #D31F66 #E54B87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E174C#FFFFFF#000000##FFFFFF
##9E174C1.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)
#3D414D
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e174c;
/* rgb */ color: rgb(158, 23, 76);
/* oklch */ color: oklch(46.0% 0.170 4.6);
Tailwind
colors: {
  custom: {
    50: '#c1667d',
    500: '#9e174c',
    950: '#000000',
  },
}
SCSS
$custom: #9e174c;
$custom-light: #c1667d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e174c",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 336.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46026,
    "c": 0.17023,
    "h": 4.6
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#9E174C
secondary
#4AC696
accent
#F1A837
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E174C

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

Preview Lab → · Contrast checker → · Palette generator →

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