#8E176A#8E176A

#8E176A is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.172 H 344.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8E176A
RGBrgb(142, 23, 106)
HSLhsl(318, 72%, 32%)
HSVhsv(318, 84%, 56%)
CMYKcmyk(0%, 83.8%, 25.4%, 44.3%)
CIE-LABlab(32.71, 54.49, -17.72)
CIE-LCHlch(32.71, 57.30, 341.98°)
OKLaboklab(44.28% 0.1651 -0.0474)
OKLCHoklch(44.28% 0.172 344)
XYZxyz(14.0638, 7.4058, 14.3217)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E176A #178E3B
analogous
#76178E #8E176A #8E172F
triadic
#8E176A #6A8E17 #176A8E
tetradic
#8E176A #8E7617 #178E3B #172F8E
square
#8E176A #8E7617 #178E3B #172F8E
split-complementary
#8E176A #2F8E17 #178E76
monochromatic
#25061B #590E43 #8E176A #C32091 #E03FAF

Accessibility & contrast

On white

8.47
#8E176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E176A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E176A#FFFFFF#000000##FFFFFF
##8E176A1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#4D5467
Tritanopia (blue-blind)
#981640
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e176a;
/* rgb */ color: rgb(142, 23, 106);
/* oklch */ color: oklch(44.3% 0.172 344.0);
Tailwind
colors: {
  custom: {
    50: '#b36494',
    500: '#8e176a',
    950: '#000000',
  },
}
SCSS
$custom: #8e176a;
$custom-light: #b36494;
$custom-dark: #000000;
JSON
{
  "hex": "#8e176a",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 318.151,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.17174,
    "h": 344
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#8E176A
secondary
#40C067
accent
#EF7039
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E176A

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

Preview Lab → · Contrast checker → · Palette generator →

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