#8E174D#8E174D

#8E174D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.158 H 359.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8E174D
RGBrgb(142, 23, 77)
HSLhsl(333, 72%, 32%)
HSVhsv(333, 84%, 56%)
CMYKcmyk(0%, 83.8%, 45.8%, 44.3%)
CIE-LABlab(31.58, 51.21, -0.59)
CIE-LCHlch(31.58, 51.22, 359.34°)
OKLaboklab(43.09% 0.1576 -0.001)
OKLCHoklch(43.09% 0.158 359.7)
XYZxyz(12.8023, 6.9011, 7.6776)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E174D #178E58
analogous
#8E1789 #8E174D #8E1C17
triadic
#8E174D #4D8E17 #174D8E
tetradic
#8E174D #898E17 #178E58 #1C178E
square
#8E174D #898E17 #178E58 #1C178E
split-complementary
#8E174D #178E1C #17898E
monochromatic
#250614 #590E30 #8E174D #C3206A #E03F88

Accessibility & contrast

On white

8.82
#8E174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E174D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E174D#FFFFFF#000000##FFFFFF
##8E174D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4E
Deuteranopia (green-blind)
#55524A
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e174d;
/* rgb */ color: rgb(142, 23, 77);
/* oklch */ color: oklch(43.1% 0.158 359.7);
Tailwind
colors: {
  custom: {
    50: '#b4637e',
    500: '#8e174d',
    950: '#000000',
  },
}
SCSS
$custom: #8e174d;
$custom-light: #b4637e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e174d",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 332.773,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.15756,
    "h": 359.7
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#8E174D
secondary
#40C086
accent
#EF9C39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E174D

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

Preview Lab → · Contrast checker → · Palette generator →

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