#8E1C72#8E1C72

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

Color values

HEX#8E1C72
RGBrgb(142, 28, 114)
HSLhsl(315, 67%, 33%)
HSVhsv(315, 80%, 56%)
CMYKcmyk(0%, 80.3%, 19.7%, 44.3%)
CIE-LABlab(33.56, 54.22, -21.51)
CIE-LCHlch(33.56, 58.33, 338.36°)
OKLaboklab(45.01% 0.1621 -0.0581)
OKLCHoklch(45.01% 0.172 340.3)
XYZxyz(14.6083, 7.7977, 16.6521)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C72 #1C8E38
analogous
#711C8E #8E1C72 #8E1C39
triadic
#8E1C72 #728E1C #1C728E
tetradic
#8E1C72 #8E711C #1C8E38 #1C398E
square
#8E1C72 #8E711C #1C8E38 #1C398E
split-complementary
#8E1C72 #398E1C #1C8E71
monochromatic
#280820 #5B1249 #8E1C72 #C1269B #DB49B7

Accessibility & contrast

On white

8.21
#8E1C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E1C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C72
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C72#FFFFFF#000000##FFFFFF
##8E1C721.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264374
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#972046
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1c72;
/* rgb */ color: rgb(142, 28, 114);
/* oklch */ color: oklch(45.0% 0.172 340.3);
Tailwind
colors: {
  custom: {
    50: '#b3669a',
    500: '#8e1c72',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c72;
$custom-light: #b3669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c72",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 314.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.17222,
    "h": 340.3
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#8E1C72
secondary
#49BD65
accent
#EA683E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1C72

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

Preview Lab → · Contrast checker → · Palette generator →

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