#8E1179#8E1179

#8E1179 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.7% C 0.186 H 336.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8E1179
RGBrgb(142, 17, 121)
HSLhsl(310, 79%, 31%)
HSVhsv(310, 88%, 56%)
CMYKcmyk(0%, 88%, 14.8%, 44.3%)
CIE-LABlab(32.99, 57.87, -26.82)
CIE-LCHlch(32.99, 63.78, 335.13°)
OKLaboklab(44.72% 0.1708 -0.0732)
OKLCHoklch(44.72% 0.186 336.8)
XYZxyz(14.8073, 7.5336, 18.7598)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1179 #118E26
analogous
#64118E #8E1179 #8E113A
triadic
#8E1179 #798E11 #11798E
tetradic
#8E1179 #8E6411 #118E26 #113A8E
square
#8E1179 #8E6411 #118E26 #113A8E
split-complementary
#8E1179 #3A8E11 #118E64
monochromatic
#21041C #570A4A #8E1179 #C518A8 #E733C8

Accessibility & contrast

On white

8.38
#8E1179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E1179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1179
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1179#FFFFFF#000000##FFFFFF
##8E11791.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427C
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#961D47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1179;
/* rgb */ color: rgb(142, 17, 121);
/* oklch */ color: oklch(44.7% 0.186 336.8);
Tailwind
colors: {
  custom: {
    50: '#b363a0',
    500: '#8e1179',
    950: '#000000',
  },
}
SCSS
$custom: #8e1179;
$custom-light: #b363a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1179",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 121
  },
  "hsl": {
    "h": 310.08,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44722,
    "c": 0.18584,
    "h": 336.8
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#8E1179
secondary
#38C250
accent
#F55333
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1179

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

Preview Lab → · Contrast checker → · Palette generator →

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