#8E166A#8E166A

#8E166A is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.173 H 343.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8E166A
RGBrgb(142, 22, 106)
HSLhsl(318, 73%, 32%)
HSVhsv(318, 85%, 56%)
CMYKcmyk(0%, 84.5%, 25.4%, 44.3%)
CIE-LABlab(32.63, 54.73, -17.86)
CIE-LCHlch(32.63, 57.57, 341.93°)
OKLaboklab(44.22% 0.1658 -0.0477)
OKLCHoklch(44.22% 0.173 343.9)
XYZxyz(14.0444, 7.3668, 14.3152)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E166A #168E3A
analogous
#76168E #8E166A #8E162E
triadic
#8E166A #6A8E16 #166A8E
tetradic
#8E166A #8E7616 #168E3A #162E8E
square
#8E166A #8E7616 #168E3A #162E8E
split-complementary
#8E166A #2E8E16 #168E76
monochromatic
#24061B #590E42 #8E166A #C31E92 #E13DB0

Accessibility & contrast

On white

8.49
#8E166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E166A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E166A#FFFFFF#000000##FFFFFF
##8E166A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e166a;
/* rgb */ color: rgb(142, 22, 106);
/* oklch */ color: oklch(44.2% 0.173 343.9);
Tailwind
colors: {
  custom: {
    50: '#b36494',
    500: '#8e166a',
    950: '#000000',
  },
}
SCSS
$custom: #8e166a;
$custom-light: #b36494;
$custom-dark: #000000;
JSON
{
  "hex": "#8e166a",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 318,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.17257,
    "h": 343.9
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#8E166A
secondary
#3FC166
accent
#F06F38
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E166A

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

Preview Lab → · Contrast checker → · Palette generator →

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