#8E1779#8E1779

#8E1779 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.181 H 336.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8E1779
RGBrgb(142, 23, 121)
HSLhsl(311, 72%, 32%)
HSVhsv(311, 84%, 56%)
CMYKcmyk(0%, 83.8%, 14.8%, 44.3%)
CIE-LABlab(33.45, 56.55, -26.11)
CIE-LCHlch(33.45, 62.28, 335.22°)
OKLaboklab(45.05% 0.1669 -0.0712)
OKLCHoklch(45.05% 0.181 336.9)
XYZxyz(14.9132, 7.7455, 18.7951)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1779 #178E2C
analogous
#67178E #8E1779 #8E173E
triadic
#8E1779 #798E17 #17798E
tetradic
#8E1779 #8E6717 #178E2C #173E8E
square
#8E1779 #8E6717 #178E2C #173E8E
split-complementary
#8E1779 #3E8E17 #178E67
monochromatic
#25061F #590E4C #8E1779 #C320A6 #E03FC4

Accessibility & contrast

On white

8.24
#8E1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1779
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1779#FFFFFF#000000##FFFFFF
##8E17791.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1779;
/* rgb */ color: rgb(142, 23, 121);
/* oklch */ color: oklch(45.0% 0.181 336.9);
Tailwind
colors: {
  custom: {
    50: '#b365a0',
    500: '#8e1779',
    950: '#000000',
  },
}
SCSS
$custom: #8e1779;
$custom-light: #b365a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1779",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 310.588,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.18141,
    "h": 336.9
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#8E1779
secondary
#40C057
accent
#EF5939
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1779

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

Preview Lab → · Contrast checker → · Palette generator →

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