#8E1571#8E1571

#8E1571 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.178 H 340.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8E1571
RGBrgb(142, 21, 113)
HSLhsl(314, 74%, 32%)
HSVhsv(314, 85%, 56%)
CMYKcmyk(0%, 85.2%, 20.4%, 44.3%)
CIE-LABlab(32.88, 55.90, -21.93)
CIE-LCHlch(32.88, 60.05, 338.58°)
OKLaboklab(44.51% 0.1676 -0.0593)
OKLCHoklch(44.51% 0.178 340.5)
XYZxyz(14.4046, 7.4809, 16.3049)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1571 #158E32
analogous
#6F158E #8E1571 #8E1535
triadic
#8E1571 #718E15 #15718E
tetradic
#8E1571 #8E6F15 #158E32 #15358E
square
#8E1571 #8E6F15 #158E32 #15358E
split-complementary
#8E1571 #358E15 #158E6F
monochromatic
#23051C #590D47 #8E1571 #C31D9B #E23BBA

Accessibility & contrast

On white

8.41
#8E1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1571
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1571#FFFFFF#000000##FFFFFF
##8E15711.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#971A43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1571;
/* rgb */ color: rgb(142, 21, 113);
/* oklch */ color: oklch(44.5% 0.178 340.5);
Tailwind
colors: {
  custom: {
    50: '#b3649a',
    500: '#8e1571',
    950: '#000000',
  },
}
SCSS
$custom: #8e1571;
$custom-light: #b3649a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1571",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 314.38,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.17772,
    "h": 340.5
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#8E1571
secondary
#3DC25D
accent
#F16337
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1571

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

Preview Lab → · Contrast checker → · Palette generator →

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