#8E116C#8E116C

#8E116C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 44.0% C 0.178 H 342.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8E116C
RGBrgb(142, 17, 108)
HSLhsl(316, 79%, 31%)
HSVhsv(316, 88%, 56%)
CMYKcmyk(0%, 88%, 23.9%, 44.3%)
CIE-LABlab(32.34, 56.10, -19.58)
CIE-LCHlch(32.34, 59.42, 340.76°)
OKLaboklab(44.04% 0.1696 -0.0526)
OKLCHoklch(44.04% 0.178 342.8)
XYZxyz(14.0631, 7.2360, 14.8405)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E116C #118E33
analogous
#71118E #8E116C #8E112D
triadic
#8E116C #6C8E11 #116C8E
tetradic
#8E116C #8E7111 #118E33 #112D8E
square
#8E116C #8E7111 #118E33 #112D8E
split-complementary
#8E116C #2D8E11 #118E71
monochromatic
#210419 #570A42 #8E116C #C51896 #E733B6

Accessibility & contrast

On white

8.58
#8E116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E116C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E116C#FFFFFF#000000##FFFFFF
##8E116C1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#981240
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e116c;
/* rgb */ color: rgb(142, 17, 108);
/* oklch */ color: oklch(44.0% 0.178 342.8);
Tailwind
colors: {
  custom: {
    50: '#b36396',
    500: '#8e116c',
    950: '#000000',
  },
}
SCSS
$custom: #8e116c;
$custom-light: #b36396;
$custom-dark: #000000;
JSON
{
  "hex": "#8e116c",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 316.32,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.17753,
    "h": 342.8
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#8E116C
secondary
#38C25E
accent
#F56833
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E116C

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

Preview Lab → · Contrast checker → · Palette generator →

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