#8E1971#8E1971

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

Color values

HEX#8E1971
RGBrgb(142, 25, 113)
HSLhsl(315, 70%, 33%)
HSVhsv(315, 82%, 56%)
CMYKcmyk(0%, 82.4%, 20.4%, 44.3%)
CIE-LABlab(33.22, 54.91, -21.40)
CIE-LCHlch(33.22, 58.93, 338.71°)
OKLaboklab(44.76% 0.1645 -0.0578)
OKLCHoklch(44.76% 0.174 340.7)
XYZxyz(14.4841, 7.6398, 16.3314)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1971 #198E36
analogous
#71198E #8E1971 #8E1936
triadic
#8E1971 #718E19 #19718E
tetradic
#8E1971 #8E7119 #198E36 #19368E
square
#8E1971 #8E7119 #198E36 #19368E
split-complementary
#8E1971 #368E19 #198E71
monochromatic
#26071E #5A1048 #8E1971 #C2229A #DE43B8

Accessibility & contrast

On white

8.31
#8E1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1971
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1971#FFFFFF#000000##FFFFFF
##8E19711.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#971D44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1971;
/* rgb */ color: rgb(142, 25, 113);
/* oklch */ color: oklch(44.8% 0.174 340.7);
Tailwind
colors: {
  custom: {
    50: '#b3659a',
    500: '#8e1971',
    950: '#000000',
  },
}
SCSS
$custom: #8e1971;
$custom-light: #b3659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1971",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 314.872,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.17437,
    "h": 340.7
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#8E1971
secondary
#44BF62
accent
#ED673B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1971

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

Preview Lab → · Contrast checker → · Palette generator →

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