#8E1568#8E1568

#8E1568 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.172 H 344.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8E1568
RGBrgb(142, 21, 104)
HSLhsl(319, 74%, 32%)
HSVhsv(319, 85%, 56%)
CMYKcmyk(0%, 85.2%, 26.8%, 44.3%)
CIE-LABlab(32.45, 54.72, -16.84)
CIE-LCHlch(32.45, 57.25, 342.89°)
OKLaboklab(44.07% 0.1662 -0.0449)
OKLCHoklch(44.07% 0.172 344.9)
XYZxyz(13.9228, 7.2882, 13.7676)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1568 #158E3B
analogous
#78158E #8E1568 #8E152C
triadic
#8E1568 #688E15 #15688E
tetradic
#8E1568 #8E7815 #158E3B #152C8E
square
#8E1568 #8E7815 #158E3B #152C8E
split-complementary
#8E1568 #2C8E15 #158E78
monochromatic
#23051A #590D41 #8E1568 #C31D8F #E23BAE

Accessibility & contrast

On white

8.55
#8E1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1568
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1568#FFFFFF#000000##FFFFFF
##8E15681.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406A
Deuteranopia (green-blind)
#4D5365
Tritanopia (blue-blind)
#98123E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1568;
/* rgb */ color: rgb(142, 21, 104);
/* oklch */ color: oklch(44.1% 0.172 344.9);
Tailwind
colors: {
  custom: {
    50: '#b36493',
    500: '#8e1568',
    950: '#000000',
  },
}
SCSS
$custom: #8e1568;
$custom-light: #b36493;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1568",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 318.843,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44065,
    "c": 0.17218,
    "h": 344.9
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#8E1568
secondary
#3DC267
accent
#F17137
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E1568

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

Preview Lab → · Contrast checker → · Palette generator →

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