#8E186D#8E186D

#8E186D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.173 H 342.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8E186D
RGBrgb(142, 24, 109)
HSLhsl(317, 71%, 33%)
HSVhsv(317, 83%, 56%)
CMYKcmyk(0%, 83.1%, 23.2%, 44.3%)
CIE-LABlab(32.94, 54.63, -19.29)
CIE-LCHlch(32.94, 57.93, 340.55°)
OKLaboklab(44.49% 0.1648 -0.0518)
OKLCHoklch(44.49% 0.173 342.6)
XYZxyz(14.2428, 7.5097, 15.1645)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E186D #188E39
analogous
#74188E #8E186D #8E1832
triadic
#8E186D #6D8E18 #186D8E
tetradic
#8E186D #8E7418 #188E39 #18328E
square
#8E186D #8E7418 #188E39 #18328E
split-complementary
#8E186D #328E18 #188E74
monochromatic
#25061D #5A0F45 #8E186D #C22195 #DF41B3

Accessibility & contrast

On white

8.39
#8E186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E186D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E186D#FFFFFF#000000##FFFFFF
##8E186D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#971942
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e186d;
/* rgb */ color: rgb(142, 24, 109);
/* oklch */ color: oklch(44.5% 0.173 342.6);
Tailwind
colors: {
  custom: {
    50: '#b36597',
    500: '#8e186d',
    950: '#000000',
  },
}
SCSS
$custom: #8e186d;
$custom-light: #b36597;
$custom-dark: #000000;
JSON
{
  "hex": "#8e186d",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 316.78,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.17271,
    "h": 342.6
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#8E186D
secondary
#42C065
accent
#EE6C3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E186D

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

Preview Lab → · Contrast checker → · Palette generator →

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