#8E1579#8E1579

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

Color values

HEX#8E1579
RGBrgb(142, 21, 121)
HSLhsl(310, 74%, 32%)
HSVhsv(310, 85%, 56%)
CMYKcmyk(0%, 85.2%, 14.8%, 44.3%)
CIE-LABlab(33.28, 57.02, -26.36)
CIE-LCHlch(33.28, 62.82, 335.19°)
OKLaboklab(44.93% 0.1683 -0.0719)
OKLCHoklch(44.93% 0.183 336.9)
XYZxyz(14.8750, 7.6690, 18.7823)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1579 #158E2A
analogous
#67158E #8E1579 #8E153D
triadic
#8E1579 #798E15 #15798E
tetradic
#8E1579 #8E6715 #158E2A #153D8E
square
#8E1579 #8E6715 #158E2A #153D8E
split-complementary
#8E1579 #3D8E15 #158E67
monochromatic
#23051E #590D4C #8E1579 #C31DA6 #E23BC5

Accessibility & contrast

On white

8.29
#8E1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1579
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1579#FFFFFF#000000##FFFFFF
##8E15791.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#961F48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1579;
/* rgb */ color: rgb(142, 21, 121);
/* oklch */ color: oklch(44.9% 0.183 336.9);
Tailwind
colors: {
  custom: {
    50: '#b364a0',
    500: '#8e1579',
    950: '#000000',
  },
}
SCSS
$custom: #8e1579;
$custom-light: #b364a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1579",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 310.413,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44931,
    "c": 0.183,
    "h": 336.9
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#8E1579
secondary
#3DC254
accent
#F15737
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1579

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

Preview Lab → · Contrast checker → · Palette generator →

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