#8E174C#8E174C

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

Color values

HEX#8E174C
RGBrgb(142, 23, 76)
HSLhsl(333, 72%, 32%)
HSVhsv(333, 84%, 56%)
CMYKcmyk(0%, 83.8%, 46.5%, 44.3%)
CIE-LABlab(31.55, 51.12, 0.02)
CIE-LCHlch(31.55, 51.12, 0.02°)
OKLaboklab(43.06% 0.1572 0.0006)
OKLCHoklch(43.06% 0.157 0.2)
XYZxyz(12.7673, 6.8871, 7.4931)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E174C #178E59
analogous
#8E1788 #8E174C #8E1D17
triadic
#8E174C #4C8E17 #174C8E
tetradic
#8E174C #888E17 #178E59 #1D178E
square
#8E174C #888E17 #178E59 #1D178E
split-complementary
#8E174C #178E1D #17888E
monochromatic
#250614 #590E30 #8E174C #C32068 #E03F87

Accessibility & contrast

On white

8.83
#8E174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E174C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E174C#FFFFFF#000000##FFFFFF
##8E174C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4D
Deuteranopia (green-blind)
#555249
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e174c;
/* rgb */ color: rgb(142, 23, 76);
/* oklch */ color: oklch(43.1% 0.157 0.2);
Tailwind
colors: {
  custom: {
    50: '#b4637d',
    500: '#8e174c',
    950: '#000000',
  },
}
SCSS
$custom: #8e174c;
$custom-light: #b4637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e174c",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 333.277,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.15722,
    "h": 0.2
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#8E174C
secondary
#40C087
accent
#EF9E39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E174C

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

Preview Lab → · Contrast checker → · Palette generator →

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