#8E1371#8E1371

#8E1371 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.179 H 340.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8E1371
RGBrgb(142, 19, 113)
HSLhsl(314, 76%, 32%)
HSVhsv(314, 87%, 56%)
CMYKcmyk(0%, 86.6%, 20.4%, 44.3%)
CIE-LABlab(32.72, 56.35, -22.18)
CIE-LCHlch(32.72, 60.55, 338.52°)
OKLaboklab(44.4% 0.1689 -0.0599)
OKLCHoklch(44.4% 0.179 340.5)
XYZxyz(14.3693, 7.4103, 16.2932)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1371 #138E30
analogous
#6E138E #8E1371 #8E1334
triadic
#8E1371 #718E13 #13718E
tetradic
#8E1371 #8E6E13 #138E30 #13348E
square
#8E1371 #8E6E13 #138E30 #13348E
split-complementary
#8E1371 #348E13 #138E6E
monochromatic
#22051B #580C46 #8E1371 #C41A9C #E437BB

Accessibility & contrast

On white

8.46
#8E1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1371
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1371#FFFFFF#000000##FFFFFF
##8E13711.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#49546E
Tritanopia (blue-blind)
#971843
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1371;
/* rgb */ color: rgb(142, 19, 113);
/* oklch */ color: oklch(44.4% 0.179 340.5);
Tailwind
colors: {
  custom: {
    50: '#b3649a',
    500: '#8e1371',
    950: '#000000',
  },
}
SCSS
$custom: #8e1371;
$custom-light: #b3649a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1371",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 314.146,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.17924,
    "h": 340.5
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#8E1371
secondary
#3BC25B
accent
#F36235
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1371

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

Preview Lab → · Contrast checker → · Palette generator →

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