#8E1978#8E1978

#8E1978 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.179 H 337.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8E1978
RGBrgb(142, 25, 120)
HSLhsl(311, 70%, 33%)
HSVhsv(311, 82%, 56%)
CMYKcmyk(0%, 82.4%, 15.5%, 44.3%)
CIE-LABlab(33.57, 55.89, -25.28)
CIE-LCHlch(33.57, 61.35, 335.66°)
OKLaboklab(45.12% 0.1653 -0.0688)
OKLCHoklch(45.12% 0.179 337.4)
XYZxyz(14.8935, 7.8036, 18.4875)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1978 #198E2F
analogous
#69198E #8E1978 #8E193D
triadic
#8E1978 #788E19 #19788E
tetradic
#8E1978 #8E6919 #198E2F #193D8E
square
#8E1978 #8E6919 #198E2F #193D8E
split-complementary
#8E1978 #3D8E19 #198E69
monochromatic
#260720 #5A104C #8E1978 #C222A4 #DE43C1

Accessibility & contrast

On white

8.20
#8E1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1978
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1978#FFFFFF#000000##FFFFFF
##8E19781.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1978;
/* rgb */ color: rgb(142, 25, 120);
/* oklch */ color: oklch(45.1% 0.179 337.4);
Tailwind
colors: {
  custom: {
    50: '#b3669f',
    500: '#8e1978',
    950: '#000000',
  },
}
SCSS
$custom: #8e1978;
$custom-light: #b3669f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1978",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 311.282,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45119,
    "c": 0.17902,
    "h": 337.4
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#8E1978
secondary
#44BF5B
accent
#ED5C3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1978

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

Preview Lab → · Contrast checker → · Palette generator →

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