#8E176B#8E176B

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

Color values

HEX#8E176B
RGBrgb(142, 23, 107)
HSLhsl(318, 72%, 32%)
HSVhsv(318, 84%, 56%)
CMYKcmyk(0%, 83.8%, 24.6%, 44.3%)
CIE-LABlab(32.76, 54.62, -18.29)
CIE-LCHlch(32.76, 57.60, 341.48°)
OKLaboklab(44.33% 0.1652 -0.049)
OKLCHoklch(44.33% 0.172 343.5)
XYZxyz(14.1162, 7.4267, 14.5972)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E176B #178E3A
analogous
#75178E #8E176B #8E1730
triadic
#8E176B #6B8E17 #176B8E
tetradic
#8E176B #8E7517 #178E3A #17308E
square
#8E176B #8E7517 #178E3A #17308E
split-complementary
#8E176B #308E17 #178E75
monochromatic
#25061C #590E43 #8E176B #C32093 #E03FB1

Accessibility & contrast

On white

8.45
#8E176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E176B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E176B#FFFFFF#000000##FFFFFF
##8E176B1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#4C5468
Tritanopia (blue-blind)
#981740
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e176b;
/* rgb */ color: rgb(142, 23, 107);
/* oklch */ color: oklch(44.3% 0.172 343.5);
Tailwind
colors: {
  custom: {
    50: '#b36495',
    500: '#8e176b',
    950: '#000000',
  },
}
SCSS
$custom: #8e176b;
$custom-light: #b36495;
$custom-dark: #000000;
JSON
{
  "hex": "#8e176b",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 317.647,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44329,
    "c": 0.17234,
    "h": 343.5
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#8E176B
secondary
#40C066
accent
#EF6E39
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E176B

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

Preview Lab → · Contrast checker → · Palette generator →

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