#8E166D#8E166D

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

Color values

HEX#8E166D
RGBrgb(142, 22, 109)
HSLhsl(317, 73%, 32%)
HSVhsv(317, 85%, 56%)
CMYKcmyk(0%, 84.5%, 23.2%, 44.3%)
CIE-LABlab(32.77, 55.13, -19.56)
CIE-LCHlch(32.77, 58.49, 340.47°)
OKLaboklab(44.37% 0.1663 -0.0525)
OKLCHoklch(44.37% 0.174 342.5)
XYZxyz(14.2031, 7.4303, 15.1512)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E166D #168E37
analogous
#73168E #8E166D #8E1631
triadic
#8E166D #6D8E16 #166D8E
tetradic
#8E166D #8E7316 #168E37 #16318E
square
#8E166D #8E7316 #168E37 #16318E
split-complementary
#8E166D #318E16 #168E73
monochromatic
#24061C #590E44 #8E166D #C31E96 #E13DB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E166D#FFFFFF#000000##FFFFFF
##8E166D1.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)
#25416F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#971741
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e166d;
/* rgb */ color: rgb(142, 22, 109);
/* oklch */ color: oklch(44.4% 0.174 342.5);
Tailwind
colors: {
  custom: {
    50: '#b36497',
    500: '#8e166d',
    950: '#000000',
  },
}
SCSS
$custom: #8e166d;
$custom-light: #b36497;
$custom-dark: #000000;
JSON
{
  "hex": "#8e166d",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 316.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44365,
    "c": 0.1744,
    "h": 342.5
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#8E166D
secondary
#3FC163
accent
#F06B38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E166D

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

Preview Lab → · Contrast checker → · Palette generator →

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