#8E1573#8E1573

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

Color values

HEX#8E1573
RGBrgb(142, 21, 115)
HSLhsl(313, 74%, 32%)
HSVhsv(313, 85%, 56%)
CMYKcmyk(0%, 85.2%, 19%, 44.3%)
CIE-LABlab(32.98, 56.17, -23.05)
CIE-LCHlch(32.98, 60.72, 337.69°)
OKLaboklab(44.61% 0.1678 -0.0624)
OKLCHoklch(44.61% 0.179 339.6)
XYZxyz(14.5184, 7.5264, 16.9045)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1573 #158E30
analogous
#6C158E #8E1573 #8E1537
triadic
#8E1573 #738E15 #15738E
tetradic
#8E1573 #8E6C15 #158E30 #15378E
square
#8E1573 #8E6C15 #158E30 #15378E
split-complementary
#8E1573 #378E15 #158E6C
monochromatic
#23051D #590D48 #8E1573 #C31D9E #E23BBD

Accessibility & contrast

On white

8.38
#8E1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1573
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1573#FFFFFF#000000##FFFFFF
##8E15731.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4275
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#971B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1573;
/* rgb */ color: rgb(142, 21, 115);
/* oklch */ color: oklch(44.6% 0.179 339.6);
Tailwind
colors: {
  custom: {
    50: '#b3649b',
    500: '#8e1573',
    950: '#000000',
  },
}
SCSS
$custom: #8e1573;
$custom-light: #b3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1573",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 313.388,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44611,
    "c": 0.17901,
    "h": 339.6
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#8E1573
secondary
#3DC25B
accent
#F16037
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1573

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

Preview Lab → · Contrast checker → · Palette generator →

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