#8E1976#8E1976

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

Color values

HEX#8E1976
RGBrgb(142, 25, 118)
HSLhsl(312, 70%, 33%)
HSVhsv(312, 82%, 56%)
CMYKcmyk(0%, 82.4%, 16.9%, 44.3%)
CIE-LABlab(33.47, 55.61, -24.18)
CIE-LCHlch(33.47, 60.64, 336.50°)
OKLaboklab(45.01% 0.1651 -0.0657)
OKLCHoklch(45.01% 0.178 338.3)
XYZxyz(14.7733, 7.7555, 17.8550)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1976 #198E31
analogous
#6C198E #8E1976 #8E193B
triadic
#8E1976 #768E19 #19768E
tetradic
#8E1976 #8E6C19 #198E31 #193B8E
square
#8E1976 #8E6C19 #198E31 #193B8E
split-complementary
#8E1976 #3B8E19 #198E6C
monochromatic
#260720 #5A104B #8E1976 #C222A1 #DE43BE

Accessibility & contrast

On white

8.23
#8E1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1976
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1976#FFFFFF#000000##FFFFFF
##8E19761.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204378
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#962047
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1976;
/* rgb */ color: rgb(142, 25, 118);
/* oklch */ color: oklch(45.0% 0.178 338.3);
Tailwind
colors: {
  custom: {
    50: '#b3669e',
    500: '#8e1976',
    950: '#000000',
  },
}
SCSS
$custom: #8e1976;
$custom-light: #b3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1976",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 312.308,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.17767,
    "h": 338.3
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#8E1976
secondary
#44BF5D
accent
#ED5F3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1976

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

Preview Lab → · Contrast checker → · Palette generator →

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