#8E1972#8E1972

#8E1972 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 340.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8E1972
RGBrgb(142, 25, 114)
HSLhsl(314, 70%, 33%)
HSVhsv(314, 82%, 56%)
CMYKcmyk(0%, 82.4%, 19.7%, 44.3%)
CIE-LABlab(33.27, 55.04, -21.96)
CIE-LCHlch(33.27, 59.26, 338.25°)
OKLaboklab(44.81% 0.1647 -0.0593)
OKLCHoklch(44.81% 0.175 340.2)
XYZxyz(14.5407, 7.6625, 16.6296)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1972 #198E35
analogous
#6F198E #8E1972 #8E1937
triadic
#8E1972 #728E19 #19728E
tetradic
#8E1972 #8E6F19 #198E35 #19378E
square
#8E1972 #8E6F19 #198E35 #19378E
split-complementary
#8E1972 #378E19 #198E6F
monochromatic
#26071E #5A1048 #8E1972 #C2229C #DE43B9

Accessibility & contrast

On white

8.29
#8E1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1972
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1972#FFFFFF#000000##FFFFFF
##8E19721.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1972;
/* rgb */ color: rgb(142, 25, 114);
/* oklch */ color: oklch(44.8% 0.175 340.2);
Tailwind
colors: {
  custom: {
    50: '#b3659b',
    500: '#8e1972',
    950: '#000000',
  },
}
SCSS
$custom: #8e1972;
$custom-light: #b3659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1972",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 314.359,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44805,
    "c": 0.17502,
    "h": 340.2
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#8E1972
secondary
#44BF61
accent
#ED663B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1972

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

Preview Lab → · Contrast checker → · Palette generator →

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