#8E116D#8E116D

#8E116D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.178 H 342.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8E116D
RGBrgb(142, 17, 109)
HSLhsl(316, 79%, 31%)
HSVhsv(316, 88%, 56%)
CMYKcmyk(0%, 88%, 23.2%, 44.3%)
CIE-LABlab(32.39, 56.23, -20.15)
CIE-LCHlch(32.39, 59.73, 340.29°)
OKLaboklab(44.09% 0.1697 -0.0542)
OKLCHoklch(44.09% 0.178 342.3)
XYZxyz(14.1167, 7.2574, 15.1224)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E116D #118E32
analogous
#70118E #8E116D #8E112E
triadic
#8E116D #6D8E11 #116D8E
tetradic
#8E116D #8E7011 #118E32 #112E8E
square
#8E116D #8E7011 #118E32 #112E8E
split-complementary
#8E116D #2E8E11 #118E70
monochromatic
#210419 #570A43 #8E116D #C51897 #E733B7

Accessibility & contrast

On white

8.57
#8E116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E116D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E116D#FFFFFF#000000##FFFFFF
##8E116D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22406F
Deuteranopia (green-blind)
#4A536A
Tritanopia (blue-blind)
#981340
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e116d;
/* rgb */ color: rgb(142, 17, 109);
/* oklch */ color: oklch(44.1% 0.178 342.3);
Tailwind
colors: {
  custom: {
    50: '#b36397',
    500: '#8e116d',
    950: '#000000',
  },
}
SCSS
$custom: #8e116d;
$custom-light: #b36397;
$custom-dark: #000000;
JSON
{
  "hex": "#8e116d",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 315.84,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44091,
    "c": 0.17814,
    "h": 342.3
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#8E116D
secondary
#38C25D
accent
#F56633
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E116D

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

Preview Lab → · Contrast checker → · Palette generator →

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