#8E166B#8E166B

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

Color values

HEX#8E166B
RGBrgb(142, 22, 107)
HSLhsl(318, 73%, 32%)
HSVhsv(318, 85%, 56%)
CMYKcmyk(0%, 84.5%, 24.6%, 44.3%)
CIE-LABlab(32.67, 54.86, -18.43)
CIE-LCHlch(32.67, 57.88, 341.44°)
OKLaboklab(44.27% 0.166 -0.0493)
OKLCHoklch(44.27% 0.173 343.4)
XYZxyz(14.0967, 7.3877, 14.5907)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E166B #168E39
analogous
#75168E #8E166B #8E162F
triadic
#8E166B #6B8E16 #166B8E
tetradic
#8E166B #8E7516 #168E39 #162F8E
square
#8E166B #8E7516 #168E39 #162F8E
split-complementary
#8E166B #2F8E16 #168E75
monochromatic
#24061B #590E43 #8E166B #C31E93 #E13DB1

Accessibility & contrast

On white

8.48
#8E166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E166B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E166B#FFFFFF#000000##FFFFFF
##8E166B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e166b;
/* rgb */ color: rgb(142, 22, 107);
/* oklch */ color: oklch(44.3% 0.173 343.4);
Tailwind
colors: {
  custom: {
    50: '#b36495',
    500: '#8e166b',
    950: '#000000',
  },
}
SCSS
$custom: #8e166b;
$custom-light: #b36495;
$custom-dark: #000000;
JSON
{
  "hex": "#8e166b",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 317.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.17318,
    "h": 343.4
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#8E166B
secondary
#3FC165
accent
#F06E38
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E166B

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

Preview Lab → · Contrast checker → · Palette generator →

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