#9E174E#9E174E

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

Color values

HEX#9E174E
RGBrgb(158, 23, 78)
HSLhsl(336, 75%, 35%)
HSVhsv(336, 85%, 62%)
CMYKcmyk(0%, 85.4%, 50.6%, 38%)
CIE-LABlab(34.87, 55.55, 3.93)
CIE-LCHlch(34.87, 55.69, 4.05°)
OKLaboklab(46.09% 0.1704 0.0106)
OKLCHoklch(46.09% 0.171 3.5)
XYZxyz(15.7835, 8.4342, 8.0031)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E174E #179E67
analogous
#9E1791 #9E174E #9E2417
triadic
#9E174E #4E9E17 #174E9E
tetradic
#9E174E #919E17 #179E67 #24179E
square
#9E174E #919E17 #179E67 #24179E
split-complementary
#9E174E #179E24 #17919E
monochromatic
#330719 #690F34 #9E174E #D31F68 #E54B89

Accessibility & contrast

On white

7.82
#9E174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9E174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E174E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E174E#FFFFFF#000000##FFFFFF
##9E174E1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#5F5B4B
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e174e;
/* rgb */ color: rgb(158, 23, 78);
/* oklch */ color: oklch(46.1% 0.171 3.5);
Tailwind
colors: {
  custom: {
    50: '#c1667f',
    500: '#9e174e',
    950: '#000000',
  },
}
SCSS
$custom: #9e174e;
$custom-light: #c1667f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e174e",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 335.556,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.17075,
    "h": 3.5
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#9E174E
secondary
#4AC694
accent
#F1A537
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E174E

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

Preview Lab → · Contrast checker → · Palette generator →

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