#8E1876#8E1876

#8E1876 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.179 H 338.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8E1876
RGBrgb(142, 24, 118)
HSLhsl(312, 71%, 33%)
HSVhsv(312, 83%, 56%)
CMYKcmyk(0%, 83.1%, 16.9%, 44.3%)
CIE-LABlab(33.38, 55.87, -24.32)
CIE-LCHlch(33.38, 60.93, 336.48°)
OKLaboklab(44.95% 0.1659 -0.0661)
OKLCHoklch(44.95% 0.179 338.3)
XYZxyz(14.7523, 7.7135, 17.8480)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1876 #188E30
analogous
#6B188E #8E1876 #8E183B
triadic
#8E1876 #768E18 #18768E
tetradic
#8E1876 #8E6B18 #188E30 #183B8E
square
#8E1876 #8E6B18 #188E30 #183B8E
split-complementary
#8E1876 #3B8E18 #188E6B
monochromatic
#25061F #5A0F4A #8E1876 #C221A2 #DF41BF

Accessibility & contrast

On white

8.26
#8E1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1876
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1876#FFFFFF#000000##FFFFFF
##8E18761.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4378
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#961F47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1876;
/* rgb */ color: rgb(142, 24, 118);
/* oklch */ color: oklch(44.9% 0.179 338.3);
Tailwind
colors: {
  custom: {
    50: '#b3659e',
    500: '#8e1876',
    950: '#000000',
  },
}
SCSS
$custom: #8e1876;
$custom-light: #b3659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1876",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 312.203,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44949,
    "c": 0.17854,
    "h": 338.3
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#8E1876
secondary
#42C05C
accent
#EE5F3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1876

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

Preview Lab → · Contrast checker → · Palette generator →

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