#8E176D#8E176D

#8E176D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.174 H 342.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8E176D
RGBrgb(142, 23, 109)
HSLhsl(317, 72%, 32%)
HSVhsv(317, 84%, 56%)
CMYKcmyk(0%, 83.8%, 23.2%, 44.3%)
CIE-LABlab(32.85, 54.88, -19.43)
CIE-LCHlch(32.85, 58.22, 340.51°)
OKLaboklab(44.43% 0.1655 -0.0522)
OKLCHoklch(44.43% 0.174 342.5)
XYZxyz(14.2226, 7.4693, 15.1577)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E176D #178E38
analogous
#74178E #8E176D #8E1731
triadic
#8E176D #6D8E17 #176D8E
tetradic
#8E176D #8E7417 #178E38 #17318E
square
#8E176D #8E7417 #178E38 #17318E
split-complementary
#8E176D #318E17 #178E74
monochromatic
#25061C #590E45 #8E176D #C32095 #E03FB3

Accessibility & contrast

On white

8.42
#8E176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E176D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E176D#FFFFFF#000000##FFFFFF
##8E176D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#971842
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e176d;
/* rgb */ color: rgb(142, 23, 109);
/* oklch */ color: oklch(44.4% 0.174 342.5);
Tailwind
colors: {
  custom: {
    50: '#b36597',
    500: '#8e176d',
    950: '#000000',
  },
}
SCSS
$custom: #8e176d;
$custom-light: #b36597;
$custom-dark: #000000;
JSON
{
  "hex": "#8e176d",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 316.639,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44427,
    "c": 0.17357,
    "h": 342.5
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#8E176D
secondary
#40C064
accent
#EF6B39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E176D

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

Preview Lab → · Contrast checker → · Palette generator →

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