#8E1E71#8E1E71

#8E1E71 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.170 H 340.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8E1E71
RGBrgb(142, 30, 113)
HSLhsl(316, 65%, 34%)
HSVhsv(316, 79%, 56%)
CMYKcmyk(0%, 78.9%, 20.4%, 44.3%)
CIE-LABlab(33.72, 53.48, -20.63)
CIE-LCHlch(33.72, 57.32, 338.91°)
OKLaboklab(45.11% 0.1602 -0.0556)
OKLCHoklch(45.11% 0.17 340.9)
XYZxyz(14.6007, 7.8731, 16.3703)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E71 #1E8E3B
analogous
#731E8E #8E1E71 #8E1E39
triadic
#8E1E71 #718E1E #1E718E
tetradic
#8E1E71 #8E731E #1E8E3B #1E398E
square
#8E1E71 #8E731E #1E8E3B #1E398E
split-complementary
#8E1E71 #398E1E #1E8E73
monochromatic
#290921 #5B1349 #8E1E71 #C12999 #D94DB5

Accessibility & contrast

On white

8.16
#8E1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E71
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E71#FFFFFF#000000##FFFFFF
##8E1E711.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#4C566E
Tritanopia (blue-blind)
#972146
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1e71;
/* rgb */ color: rgb(142, 30, 113);
/* oklch */ color: oklch(45.1% 0.170 340.9);
Tailwind
colors: {
  custom: {
    50: '#b3679a',
    500: '#8e1e71',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e71;
$custom-light: #b3679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e71",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 315.536,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.16956,
    "h": 340.9
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#8E1E71
secondary
#4CBC69
accent
#E86B40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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