#8E1576#8E1576

#8E1576 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.181 H 338.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8E1576
RGBrgb(142, 21, 118)
HSLhsl(312, 74%, 32%)
HSVhsv(312, 85%, 56%)
CMYKcmyk(0%, 85.2%, 16.9%, 44.3%)
CIE-LABlab(33.13, 56.59, -24.71)
CIE-LCHlch(33.13, 61.75, 336.41°)
OKLaboklab(44.77% 0.1681 -0.0672)
OKLCHoklch(44.77% 0.181 338.2)
XYZxyz(14.6939, 7.5966, 17.8285)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1576 #158E2D
analogous
#6A158E #8E1576 #8E153A
triadic
#8E1576 #768E15 #15768E
tetradic
#8E1576 #8E6A15 #158E2D #153A8E
square
#8E1576 #8E6A15 #158E2D #153A8E
split-complementary
#8E1576 #3A8E15 #158E6A
monochromatic
#23051D #590D4A #8E1576 #C31DA2 #E23BC1

Accessibility & contrast

On white

8.34
#8E1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1576
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1576#FFFFFF#000000##FFFFFF
##8E15761.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#485473
Tritanopia (blue-blind)
#961D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1576;
/* rgb */ color: rgb(142, 21, 118);
/* oklch */ color: oklch(44.8% 0.181 338.2);
Tailwind
colors: {
  custom: {
    50: '#b3649e',
    500: '#8e1576',
    950: '#000000',
  },
}
SCSS
$custom: #8e1576;
$custom-light: #b3649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1576",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 311.901,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.18098,
    "h": 338.2
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#8E1576
secondary
#3DC257
accent
#F15C37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1576

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

Preview Lab → · Contrast checker → · Palette generator →

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