#8E1973#8E1973

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

Color values

HEX#8E1973
RGBrgb(142, 25, 115)
HSLhsl(314, 70%, 33%)
HSVhsv(314, 82%, 56%)
CMYKcmyk(0%, 82.4%, 19%, 44.3%)
CIE-LABlab(33.32, 55.18, -22.52)
CIE-LCHlch(33.32, 59.60, 337.80°)
OKLaboklab(44.86% 0.1648 -0.0609)
OKLCHoklch(44.86% 0.176 339.7)
XYZxyz(14.5979, 7.6853, 16.9310)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1973 #198E34
analogous
#6E198E #8E1973 #8E1939
triadic
#8E1973 #738E19 #19738E
tetradic
#8E1973 #8E6E19 #198E34 #19398E
square
#8E1973 #8E6E19 #198E34 #19398E
split-complementary
#8E1973 #398E19 #198E6E
monochromatic
#26071F #5A1049 #8E1973 #C2229D #DE43BA

Accessibility & contrast

On white

8.28
#8E1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1973
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1973#FFFFFF#000000##FFFFFF
##8E19731.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224375
Deuteranopia (green-blind)
#4A5570
Tritanopia (blue-blind)
#971E45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1973;
/* rgb */ color: rgb(142, 25, 115);
/* oklch */ color: oklch(44.9% 0.176 339.7);
Tailwind
colors: {
  custom: {
    50: '#b3659b',
    500: '#8e1973',
    950: '#000000',
  },
}
SCSS
$custom: #8e1973;
$custom-light: #b3659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1973",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 313.846,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.17568,
    "h": 339.7
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#8E1973
secondary
#44BF60
accent
#ED643B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1973

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

Preview Lab → · Contrast checker → · Palette generator →

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