#8E187A#8E187A

#8E187A is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.181 H 336.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8E187A
RGBrgb(142, 24, 122)
HSLhsl(310, 71%, 33%)
HSVhsv(310, 83%, 56%)
CMYKcmyk(0%, 83.1%, 14.1%, 44.3%)
CIE-LABlab(33.59, 56.44, -26.52)
CIE-LCHlch(33.59, 62.36, 334.83°)
OKLaboklab(45.16% 0.1662 -0.0724)
OKLCHoklch(45.16% 0.181 336.5)
XYZxyz(14.9951, 7.8106, 19.1265)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E187A #188E2C
analogous
#67188E #8E187A #8E183F
triadic
#8E187A #7A8E18 #187A8E
tetradic
#8E187A #8E6718 #188E2C #183F8E
square
#8E187A #8E6718 #188E2C #183F8E
split-complementary
#8E187A #3F8E18 #188E67
monochromatic
#250620 #5A0F4D #8E187A #C221A7 #DF41C4

Accessibility & contrast

On white

8.20
#8E187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E187A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E187A#FFFFFF#000000##FFFFFF
##8E187A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#962249
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e187a;
/* rgb */ color: rgb(142, 24, 122);
/* oklch */ color: oklch(45.2% 0.181 336.5);
Tailwind
colors: {
  custom: {
    50: '#b365a1',
    500: '#8e187a',
    950: '#000000',
  },
}
SCSS
$custom: #8e187a;
$custom-light: #b365a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e187a",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 310.169,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.18125,
    "h": 336.5
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#8E187A
secondary
#42C057
accent
#EE583A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8E187A

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

Preview Lab → · Contrast checker → · Palette generator →

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