#8E1379#8E1379

#8E1379 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 336.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8E1379
RGBrgb(142, 19, 121)
HSLhsl(310, 76%, 32%)
HSVhsv(310, 87%, 56%)
CMYKcmyk(0%, 86.6%, 14.8%, 44.3%)
CIE-LABlab(33.13, 57.46, -26.60)
CIE-LCHlch(33.13, 63.32, 335.16°)
OKLaboklab(44.82% 0.1696 -0.0726)
OKLCHoklch(44.82% 0.184 336.8)
XYZxyz(14.8397, 7.5985, 18.7706)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1379 #138E28
analogous
#66138E #8E1379 #8E133C
triadic
#8E1379 #798E13 #13798E
tetradic
#8E1379 #8E6613 #138E28 #133C8E
square
#8E1379 #8E6613 #138E28 #133C8E
split-complementary
#8E1379 #3C8E13 #138E66
monochromatic
#22051D #580C4B #8E1379 #C41AA7 #E437C7

Accessibility & contrast

On white

8.34
#8E1379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E1379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1379
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1379#FFFFFF#000000##FFFFFF
##8E13791.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#961E47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1379;
/* rgb */ color: rgb(142, 19, 121);
/* oklch */ color: oklch(44.8% 0.184 336.8);
Tailwind
colors: {
  custom: {
    50: '#b364a0',
    500: '#8e1379',
    950: '#000000',
  },
}
SCSS
$custom: #8e1379;
$custom-light: #b364a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1379",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 310.244,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.18447,
    "h": 336.8
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#8E1379
secondary
#3BC252
accent
#F35535
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1379

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

Preview Lab → · Contrast checker → · Palette generator →

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