#8E1C71#8E1C71

#8E1C71 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.172 H 340.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8E1C71
RGBrgb(142, 28, 113)
HSLhsl(315, 67%, 33%)
HSVhsv(315, 80%, 56%)
CMYKcmyk(0%, 80.3%, 20.4%, 44.3%)
CIE-LABlab(33.51, 54.08, -20.95)
CIE-LCHlch(33.51, 57.99, 338.82°)
OKLaboklab(44.96% 0.162 -0.0565)
OKLCHoklch(44.96% 0.172 340.8)
XYZxyz(14.5517, 7.7750, 16.3540)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C71 #1C8E39
analogous
#721C8E #8E1C71 #8E1C38
triadic
#8E1C71 #718E1C #1C718E
tetradic
#8E1C71 #8E721C #1C8E39 #1C388E
square
#8E1C71 #8E721C #1C8E39 #1C388E
split-complementary
#8E1C71 #388E1C #1C8E72
monochromatic
#280820 #5B1248 #8E1C71 #C1269A #DB49B6

Accessibility & contrast

On white

8.22
#8E1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C71
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C71#FFFFFF#000000##FFFFFF
##8E1C711.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#4C556E
Tritanopia (blue-blind)
#971F45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1c71;
/* rgb */ color: rgb(142, 28, 113);
/* oklch */ color: oklch(45.0% 0.172 340.8);
Tailwind
colors: {
  custom: {
    50: '#b3669a',
    500: '#8e1c71',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c71;
$custom-light: #b3669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c71",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 315.263,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.17156,
    "h": 340.8
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#8E1C71
secondary
#49BD66
accent
#EA6A3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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