#8E1977#8E1977

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

Color values

HEX#8E1977
RGBrgb(142, 25, 119)
HSLhsl(312, 70%, 33%)
HSVhsv(312, 82%, 56%)
CMYKcmyk(0%, 82.4%, 16.2%, 44.3%)
CIE-LABlab(33.52, 55.75, -24.73)
CIE-LCHlch(33.52, 60.99, 336.08°)
OKLaboklab(45.07% 0.1652 -0.0673)
OKLCHoklch(45.07% 0.178 337.8)
XYZxyz(14.8331, 7.7794, 18.1696)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1977 #198E30
analogous
#6A198E #8E1977 #8E193C
triadic
#8E1977 #778E19 #19778E
tetradic
#8E1977 #8E6A19 #198E30 #193C8E
square
#8E1977 #8E6A19 #198E30 #193C8E
split-complementary
#8E1977 #3C8E19 #198E6A
monochromatic
#260720 #5A104B #8E1977 #C222A3 #DE43C0

Accessibility & contrast

On white

8.22
#8E1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1977
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1977#FFFFFF#000000##FFFFFF
##8E19771.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1977;
/* rgb */ color: rgb(142, 25, 119);
/* oklch */ color: oklch(45.1% 0.178 337.8);
Tailwind
colors: {
  custom: {
    50: '#b3669e',
    500: '#8e1977',
    950: '#000000',
  },
}
SCSS
$custom: #8e1977;
$custom-light: #b3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1977",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 311.795,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.17835,
    "h": 337.8
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#8E1977
secondary
#44BF5C
accent
#ED5E3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1977

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

Preview Lab → · Contrast checker → · Palette generator →

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