#8E1A77#8E1A77

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

Color values

HEX#8E1A77
RGBrgb(142, 26, 119)
HSLhsl(312, 69%, 33%)
HSVhsv(312, 82%, 56%)
CMYKcmyk(0%, 81.7%, 16.2%, 44.3%)
CIE-LABlab(33.61, 55.48, -24.59)
CIE-LCHlch(33.61, 60.69, 336.10°)
OKLaboklab(45.13% 0.1644 -0.0669)
OKLCHoklch(45.13% 0.177 337.9)
XYZxyz(14.8548, 7.8229, 18.1768)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A77 #1A8E31
analogous
#6B1A8E #8E1A77 #8E1A3D
triadic
#8E1A77 #778E1A #1A778E
tetradic
#8E1A77 #8E6B1A #1A8E31 #1A3D8E
square
#8E1A77 #8E6B1A #1A8E31 #1A3D8E
split-complementary
#8E1A77 #3D8E1A #1A8E6B
monochromatic
#270720 #5A114C #8E1A77 #C223A2 #DD45BF

Accessibility & contrast

On white

8.19
#8E1A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A77
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A77#FFFFFF#000000##FFFFFF
##8E1A771.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#962248
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1a77;
/* rgb */ color: rgb(142, 26, 119);
/* oklch */ color: oklch(45.1% 0.177 337.9);
Tailwind
colors: {
  custom: {
    50: '#b3669e',
    500: '#8e1a77',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a77;
$custom-light: #b3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a77",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 311.897,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45132,
    "c": 0.17744,
    "h": 337.9
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#8E1A77
secondary
#45BE5D
accent
#EC5F3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1A77

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

Preview Lab → · Contrast checker → · Palette generator →

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