#8E176F#8E176F

#8E176F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.175 H 341.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8E176F
RGBrgb(142, 23, 111)
HSLhsl(316, 72%, 32%)
HSVhsv(316, 84%, 56%)
CMYKcmyk(0%, 83.8%, 21.8%, 44.3%)
CIE-LABlab(32.95, 55.15, -20.55)
CIE-LCHlch(32.95, 58.85, 339.56°)
OKLaboklab(44.53% 0.1658 -0.0554)
OKLCHoklch(44.53% 0.175 341.5)
XYZxyz(14.3315, 7.5128, 15.7312)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E176F #178E36
analogous
#71178E #8E176F #8E1734
triadic
#8E176F #6F8E17 #176F8E
tetradic
#8E176F #8E7117 #178E36 #17348E
square
#8E176F #8E7117 #178E36 #17348E
split-complementary
#8E176F #348E17 #178E71
monochromatic
#25061D #590E46 #8E176F #C32098 #E03FB6

Accessibility & contrast

On white

8.39
#8E176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E176F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E176F#FFFFFF#000000##FFFFFF
##8E176F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#4B546C
Tritanopia (blue-blind)
#971A43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e176f;
/* rgb */ color: rgb(142, 23, 111);
/* oklch */ color: oklch(44.5% 0.175 341.5);
Tailwind
colors: {
  custom: {
    50: '#b36598',
    500: '#8e176f',
    950: '#000000',
  },
}
SCSS
$custom: #8e176f;
$custom-light: #b36598;
$custom-dark: #000000;
JSON
{
  "hex": "#8e176f",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 315.63,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44526,
    "c": 0.17483,
    "h": 341.5
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#8E176F
secondary
#40C062
accent
#EF6839
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E176F

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

Preview Lab → · Contrast checker → · Palette generator →

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