#8E1176#8E1176

#8E1176 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.184 H 338.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8E1176
RGBrgb(142, 17, 118)
HSLhsl(312, 79%, 31%)
HSVhsv(312, 88%, 56%)
CMYKcmyk(0%, 88%, 16.9%, 44.3%)
CIE-LABlab(32.83, 57.44, -25.17)
CIE-LCHlch(32.83, 62.72, 336.34°)
OKLaboklab(44.56% 0.1706 -0.0685)
OKLCHoklch(44.56% 0.184 338.1)
XYZxyz(14.6262, 7.4612, 17.8059)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1176 #118E29
analogous
#67118E #8E1176 #8E1137
triadic
#8E1176 #768E11 #11768E
tetradic
#8E1176 #8E6711 #118E29 #11378E
square
#8E1176 #8E6711 #118E29 #11378E
split-complementary
#8E1176 #378E11 #118E67
monochromatic
#21041B #570A49 #8E1176 #C518A3 #E733C4

Accessibility & contrast

On white

8.43
#8E1176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E1176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1176
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1176#FFFFFF#000000##FFFFFF
##8E11761.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#475473
Tritanopia (blue-blind)
#961B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1176;
/* rgb */ color: rgb(142, 17, 118);
/* oklch */ color: oklch(44.6% 0.184 338.1);
Tailwind
colors: {
  custom: {
    50: '#b3639e',
    500: '#8e1176',
    950: '#000000',
  },
}
SCSS
$custom: #8e1176;
$custom-light: #b3639e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1176",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 311.52,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44559,
    "c": 0.18386,
    "h": 338.1
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#8E1176
secondary
#38C253
accent
#F55833
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1176

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

Preview Lab → · Contrast checker → · Palette generator →

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