#8E1372#8E1372

#8E1372 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.180 H 340.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8E1372
RGBrgb(142, 19, 114)
HSLhsl(314, 76%, 32%)
HSVhsv(314, 87%, 56%)
CMYKcmyk(0%, 86.6%, 19.7%, 44.3%)
CIE-LABlab(32.77, 56.48, -22.73)
CIE-LCHlch(32.77, 60.88, 338.08°)
OKLaboklab(44.45% 0.169 -0.0615)
OKLCHoklch(44.45% 0.18 340)
XYZxyz(14.4259, 7.4330, 16.5913)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1372 #138E2F
analogous
#6D138E #8E1372 #8E1334
triadic
#8E1372 #728E13 #13728E
tetradic
#8E1372 #8E6D13 #138E2F #13348E
square
#8E1372 #8E6D13 #138E2F #13348E
split-complementary
#8E1372 #348E13 #138E6D
monochromatic
#22051B #580C47 #8E1372 #C41A9D #E437BD

Accessibility & contrast

On white

8.45
#8E1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1372
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1372#FFFFFF#000000##FFFFFF
##8E13721.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#971943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1372;
/* rgb */ color: rgb(142, 19, 114);
/* oklch */ color: oklch(44.4% 0.180 340.0);
Tailwind
colors: {
  custom: {
    50: '#b3649b',
    500: '#8e1372',
    950: '#000000',
  },
}
SCSS
$custom: #8e1372;
$custom-light: #b3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1372",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 313.659,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.17988,
    "h": 340
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#8E1372
secondary
#3BC25A
accent
#F36035
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1372

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

Preview Lab → · Contrast checker → · Palette generator →

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