#8E1778#8E1778

#8E1778 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.181 H 337.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8E1778
RGBrgb(142, 23, 120)
HSLhsl(311, 72%, 32%)
HSVhsv(311, 84%, 56%)
CMYKcmyk(0%, 83.8%, 15.5%, 44.3%)
CIE-LABlab(33.40, 56.40, -25.56)
CIE-LCHlch(33.40, 61.92, 335.62°)
OKLaboklab(44.99% 0.1668 -0.0696)
OKLCHoklch(44.99% 0.181 337.3)
XYZxyz(14.8522, 7.7211, 18.4738)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1778 #178E2D
analogous
#68178E #8E1778 #8E173D
triadic
#8E1778 #788E17 #17788E
tetradic
#8E1778 #8E6817 #178E2D #173D8E
square
#8E1778 #8E6817 #178E2D #173D8E
split-complementary
#8E1778 #3D8E17 #178E68
monochromatic
#25061F #590E4B #8E1778 #C320A5 #E03FC2

Accessibility & contrast

On white

8.25
#8E1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1778
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1778#FFFFFF#000000##FFFFFF
##8E17781.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#962048
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1778;
/* rgb */ color: rgb(142, 23, 120);
/* oklch */ color: oklch(45.0% 0.181 337.3);
Tailwind
colors: {
  custom: {
    50: '#b3659f',
    500: '#8e1778',
    950: '#000000',
  },
}
SCSS
$custom: #8e1778;
$custom-light: #b3659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1778",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 311.092,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.18072,
    "h": 337.3
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#8E1778
secondary
#40C058
accent
#EF5B39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1778

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

Preview Lab → · Contrast checker → · Palette generator →

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