#8E174A#8E174A

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

Color values

HEX#8E174A
RGBrgb(142, 23, 74)
HSLhsl(334, 72%, 32%)
HSVhsv(334, 84%, 56%)
CMYKcmyk(0%, 83.8%, 47.9%, 44.3%)
CIE-LABlab(31.49, 50.93, 1.25)
CIE-LCHlch(31.49, 50.95, 1.40°)
OKLaboklab(42.99% 0.1565 0.0038)
OKLCHoklch(42.99% 0.157 1.4)
XYZxyz(12.6988, 6.8597, 7.1326)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E174A #178E5B
analogous
#8E1785 #8E174A #8E2017
triadic
#8E174A #4A8E17 #174A8E
tetradic
#8E174A #858E17 #178E5B #20178E
square
#8E174A #858E17 #178E5B #20178E
split-complementary
#8E174A #178E20 #17858E
monochromatic
#250613 #590E2F #8E174A #C32065 #E03F84

Accessibility & contrast

On white

8.85
#8E174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E174A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E174A#FFFFFF#000000##FFFFFF
##8E174A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e174a;
/* rgb */ color: rgb(142, 23, 74);
/* oklch */ color: oklch(43.0% 0.157 1.4);
Tailwind
colors: {
  custom: {
    50: '#b5637c',
    500: '#8e174a',
    950: '#000000',
  },
}
SCSS
$custom: #8e174a;
$custom-light: #b5637c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e174a",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 334.286,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42988,
    "c": 0.15657,
    "h": 1.4
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#8E174A
secondary
#40C08A
accent
#EFA139
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E174A

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

Preview Lab → · Contrast checker → · Palette generator →

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