#8E1E77#8E1E77

#8E1E77 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.174 H 338.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8E1E77
RGBrgb(142, 30, 119)
HSLhsl(312, 65%, 34%)
HSVhsv(312, 79%, 56%)
CMYKcmyk(0%, 78.9%, 16.2%, 44.3%)
CIE-LABlab(34.01, 54.34, -23.97)
CIE-LCHlch(34.01, 59.39, 336.20°)
OKLaboklab(45.42% 0.1609 -0.0651)
OKLCHoklch(45.42% 0.174 338)
XYZxyz(14.9497, 8.0127, 18.2085)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E77 #1E8E35
analogous
#6D1E8E #8E1E77 #8E1E3F
triadic
#8E1E77 #778E1E #1E778E
tetradic
#8E1E77 #8E6D1E #1E8E35 #1E3F8E
square
#8E1E77 #8E6D1E #1E8E35 #1E3F8E
split-complementary
#8E1E77 #3F8E1E #1E8E6D
monochromatic
#290922 #5B134D #8E1E77 #C129A1 #D94DBD

Accessibility & contrast

On white

8.07
#8E1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E77
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E77#FFFFFF#000000##FFFFFF
##8E1E771.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#4A5674
Tritanopia (blue-blind)
#962549
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1e77;
/* rgb */ color: rgb(142, 30, 119);
/* oklch */ color: oklch(45.4% 0.174 338.0);
Tailwind
colors: {
  custom: {
    50: '#b3679e',
    500: '#8e1e77',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e77;
$custom-light: #b3679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e77",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 312.321,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.1736,
    "h": 338
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#8E1E77
secondary
#4CBC63
accent
#E86240
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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