#8E1472#8E1472

#8E1472 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.179 H 340.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8E1472
RGBrgb(142, 20, 114)
HSLhsl(314, 75%, 32%)
HSVhsv(314, 86%, 56%)
CMYKcmyk(0%, 85.9%, 19.7%, 44.3%)
CIE-LABlab(32.85, 56.26, -22.62)
CIE-LCHlch(32.85, 60.64, 338.10°)
OKLaboklab(44.5% 0.1684 -0.0612)
OKLCHoklch(44.5% 0.179 340)
XYZxyz(14.4432, 7.4675, 16.5971)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1472 #148E30
analogous
#6D148E #8E1472 #8E1435
triadic
#8E1472 #728E14 #14728E
tetradic
#8E1472 #8E6D14 #148E30 #14358E
square
#8E1472 #8E6D14 #148E30 #14358E
split-complementary
#8E1472 #358E14 #148E6D
monochromatic
#23051C #580C47 #8E1472 #C41C9D #E339BC

Accessibility & contrast

On white

8.42
#8E1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1472
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1472#FFFFFF#000000##FFFFFF
##8E14721.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#971A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1472;
/* rgb */ color: rgb(142, 20, 114);
/* oklch */ color: oklch(44.5% 0.179 340.0);
Tailwind
colors: {
  custom: {
    50: '#b3649b',
    500: '#8e1472',
    950: '#000000',
  },
}
SCSS
$custom: #8e1472;
$custom-light: #b3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1472",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 313.77,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.17913,
    "h": 340
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#8E1472
secondary
#3CC25B
accent
#F26136
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1472

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

Preview Lab → · Contrast checker → · Palette generator →

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