#8E1777#8E1777

#8E1777 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.180 H 337.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8E1777
RGBrgb(142, 23, 119)
HSLhsl(312, 72%, 32%)
HSVhsv(312, 84%, 56%)
CMYKcmyk(0%, 83.8%, 16.2%, 44.3%)
CIE-LABlab(33.34, 56.26, -25.01)
CIE-LCHlch(33.34, 61.56, 336.04°)
OKLaboklab(44.94% 0.1667 -0.068)
OKLCHoklch(44.94% 0.18 337.8)
XYZxyz(14.7919, 7.6970, 18.1558)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1777 #178E2E
analogous
#6A178E #8E1777 #8E173B
triadic
#8E1777 #778E17 #17778E
tetradic
#8E1777 #8E6A17 #178E2E #173B8E
square
#8E1777 #8E6A17 #178E2E #173B8E
split-complementary
#8E1777 #3B8E17 #178E6A
monochromatic
#25061F #590E4B #8E1777 #C320A3 #E03FC1

Accessibility & contrast

On white

8.27
#8E1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1777
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1777#FFFFFF#000000##FFFFFF
##8E17771.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4379
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#961F47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1777;
/* rgb */ color: rgb(142, 23, 119);
/* oklch */ color: oklch(44.9% 0.180 337.8);
Tailwind
colors: {
  custom: {
    50: '#b3659e',
    500: '#8e1777',
    950: '#000000',
  },
}
SCSS
$custom: #8e1777;
$custom-light: #b3659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1777",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 311.597,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4494,
    "c": 0.18005,
    "h": 337.8
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#8E1777
secondary
#40C059
accent
#EF5C39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1777

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

Preview Lab → · Contrast checker → · Palette generator →

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