#8E1A78#8E1A78

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

Color values

HEX#8E1A78
RGBrgb(142, 26, 120)
HSLhsl(311, 69%, 33%)
HSVhsv(311, 82%, 56%)
CMYKcmyk(0%, 81.7%, 15.5%, 44.3%)
CIE-LABlab(33.66, 55.63, -25.14)
CIE-LCHlch(33.66, 61.05, 335.68°)
OKLaboklab(45.18% 0.1645 -0.0684)
OKLCHoklch(45.18% 0.178 337.4)
XYZxyz(14.9152, 7.8471, 18.4948)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A78 #1A8E30
analogous
#6A1A8E #8E1A78 #8E1A3E
triadic
#8E1A78 #788E1A #1A788E
tetradic
#8E1A78 #8E6A1A #1A8E30 #1A3E8E
square
#8E1A78 #8E6A1A #1A8E30 #1A3E8E
split-complementary
#8E1A78 #3E8E1A #1A8E6A
monochromatic
#270721 #5A114C #8E1A78 #C223A4 #DD45C0

Accessibility & contrast

On white

8.17
#8E1A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A78
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A78#FFFFFF#000000##FFFFFF
##8E1A781.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1a78;
/* rgb */ color: rgb(142, 26, 120);
/* oklch */ color: oklch(45.2% 0.178 337.4);
Tailwind
colors: {
  custom: {
    50: '#b3669f',
    500: '#8e1a78',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a78;
$custom-light: #b3669f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a78",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 311.379,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.17812,
    "h": 337.4
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#8E1A78
secondary
#45BE5C
accent
#EC5D3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1A78

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

Preview Lab → · Contrast checker → · Palette generator →

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