#8E174B#8E174B

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

Color values

HEX#8E174B
RGBrgb(142, 23, 75)
HSLhsl(334, 72%, 32%)
HSVhsv(334, 84%, 56%)
CMYKcmyk(0%, 83.8%, 47.2%, 44.3%)
CIE-LABlab(31.52, 51.02, 0.63)
CIE-LCHlch(31.52, 51.03, 0.71°)
OKLaboklab(43.02% 0.1569 0.0022)
OKLCHoklch(43.02% 0.157 0.8)
XYZxyz(12.7328, 6.8733, 7.3115)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E174B #178E5A
analogous
#8E1786 #8E174B #8E1F17
triadic
#8E174B #4B8E17 #174B8E
tetradic
#8E174B #868E17 #178E5A #1F178E
square
#8E174B #868E17 #178E5A #1F178E
split-complementary
#8E174B #178E1F #17868E
monochromatic
#250613 #590E2F #8E174B #C32067 #E03F86

Accessibility & contrast

On white

8.84
#8E174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E174B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E174B#FFFFFF#000000##FFFFFF
##8E174B1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4C
Deuteranopia (green-blind)
#555248
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e174b;
/* rgb */ color: rgb(142, 23, 75);
/* oklch */ color: oklch(43.0% 0.157 0.8);
Tailwind
colors: {
  custom: {
    50: '#b5637d',
    500: '#8e174b',
    950: '#000000',
  },
}
SCSS
$custom: #8e174b;
$custom-light: #b5637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e174b",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 333.782,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43021,
    "c": 0.15689,
    "h": 0.8
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#8E174B
secondary
#40C088
accent
#EF9F39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E174B

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

Preview Lab → · Contrast checker → · Palette generator →

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