#8E1572#8E1572

#8E1572 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.178 H 340.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8E1572
RGBrgb(142, 21, 114)
HSLhsl(314, 74%, 32%)
HSVhsv(314, 85%, 56%)
CMYKcmyk(0%, 85.2%, 19.7%, 44.3%)
CIE-LABlab(32.93, 56.04, -22.49)
CIE-LCHlch(32.93, 60.38, 338.13°)
OKLaboklab(44.56% 0.1677 -0.0608)
OKLCHoklch(44.56% 0.178 340.1)
XYZxyz(14.4612, 7.5035, 16.6031)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1572 #158E31
analogous
#6E158E #8E1572 #8E1536
triadic
#8E1572 #728E15 #15728E
tetradic
#8E1572 #8E6E15 #158E31 #15368E
square
#8E1572 #8E6E15 #158E31 #15368E
split-complementary
#8E1572 #368E15 #158E6E
monochromatic
#23051C #590D47 #8E1572 #C31D9D #E23BBB

Accessibility & contrast

On white

8.40
#8E1572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E1572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1572
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1572#FFFFFF#000000##FFFFFF
##8E15721.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.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: #8e1572;
/* rgb */ color: rgb(142, 21, 114);
/* oklch */ color: oklch(44.6% 0.178 340.1);
Tailwind
colors: {
  custom: {
    50: '#b3649b',
    500: '#8e1572',
    950: '#000000',
  },
}
SCSS
$custom: #8e1572;
$custom-light: #b3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1572",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 313.884,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44559,
    "c": 0.17837,
    "h": 340.1
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#8E1572
secondary
#3DC25C
accent
#F16237
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1572

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

Preview Lab → · Contrast checker → · Palette generator →

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