#8E167A#8E167A

#8E167A is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.183 H 336.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8E167A
RGBrgb(142, 22, 122)
HSLhsl(310, 73%, 32%)
HSVhsv(310, 85%, 56%)
CMYKcmyk(0%, 84.5%, 14.1%, 44.3%)
CIE-LABlab(33.42, 56.93, -26.78)
CIE-LCHlch(33.42, 62.92, 334.81°)
OKLaboklab(45.04% 0.1676 -0.0731)
OKLCHoklch(45.04% 0.183 336.4)
XYZxyz(14.9554, 7.7312, 19.1132)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E167A #168E2A
analogous
#66168E #8E167A #8E163E
triadic
#8E167A #7A8E16 #167A8E
tetradic
#8E167A #8E6616 #168E2A #163E8E
square
#8E167A #8E6616 #168E2A #163E8E
split-complementary
#8E167A #3E8E16 #168E66
monochromatic
#24061F #590E4C #8E167A #C31EA8 #E13DC6

Accessibility & contrast

On white

8.25
#8E167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E167A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E167A#FFFFFF#000000##FFFFFF
##8E167A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#962149
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e167a;
/* rgb */ color: rgb(142, 22, 122);
/* oklch */ color: oklch(45.0% 0.183 336.4);
Tailwind
colors: {
  custom: {
    50: '#b365a1',
    500: '#8e167a',
    950: '#000000',
  },
}
SCSS
$custom: #8e167a;
$custom-light: #b365a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e167a",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 310,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45043,
    "c": 0.18289,
    "h": 336.4
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#8E167A
secondary
#3FC155
accent
#F05738
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8E167A

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

Preview Lab → · Contrast checker → · Palette generator →

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