#8E1566#8E1566

#8E1566 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 44.0% C 0.171 H 345.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8E1566
RGBrgb(142, 21, 102)
HSLhsl(320, 74%, 32%)
HSVhsv(320, 85%, 56%)
CMYKcmyk(0%, 85.2%, 28.2%, 44.3%)
CIE-LABlab(32.36, 54.47, -15.69)
CIE-LCHlch(32.36, 56.68, 343.93°)
OKLaboklab(43.97% 0.1659 -0.0417)
OKLCHoklch(43.97% 0.171 345.9)
XYZxyz(13.8224, 7.2480, 13.2389)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1566 #158E3D
analogous
#7A158E #8E1566 #8E1529
triadic
#8E1566 #668E15 #15668E
tetradic
#8E1566 #8E7A15 #158E3D #15298E
square
#8E1566 #8E7A15 #158E3D #15298E
split-complementary
#8E1566 #298E15 #158E7A
monochromatic
#230519 #590D40 #8E1566 #C31D8C #E23BAB

Accessibility & contrast

On white

8.57
#8E1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E1566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1566
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1566#FFFFFF#000000##FFFFFF
##8E15661.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F68
Deuteranopia (green-blind)
#4E5363
Tritanopia (blue-blind)
#98103D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1566;
/* rgb */ color: rgb(142, 21, 102);
/* oklch */ color: oklch(44.0% 0.171 345.9);
Tailwind
colors: {
  custom: {
    50: '#b36491',
    500: '#8e1566',
    950: '#000000',
  },
}
SCSS
$custom: #8e1566;
$custom-light: #b36491;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1566",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 319.835,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.17103,
    "h": 345.9
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#8E1566
secondary
#3DC269
accent
#F17437
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060D
muted
#817A7D

Preview Lab

Preview with #8E1566

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

Preview Lab → · Contrast checker → · Palette generator →

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