#8E1577#8E1577

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

Color values

HEX#8E1577
RGBrgb(142, 21, 119)
HSLhsl(311, 74%, 32%)
HSVhsv(311, 85%, 56%)
CMYKcmyk(0%, 85.2%, 16.2%, 44.3%)
CIE-LABlab(33.18, 56.73, -25.26)
CIE-LCHlch(33.18, 62.10, 336.00°)
OKLaboklab(44.82% 0.1681 -0.0687)
OKLCHoklch(44.82% 0.182 337.8)
XYZxyz(14.7536, 7.6205, 18.1431)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1577 #158E2C
analogous
#69158E #8E1577 #8E153B
triadic
#8E1577 #778E15 #15778E
tetradic
#8E1577 #8E6915 #158E2C #153B8E
square
#8E1577 #8E6915 #158E2C #153B8E
split-complementary
#8E1577 #3B8E15 #158E69
monochromatic
#23051E #590D4A #8E1577 #C31DA4 #E23BC2

Accessibility & contrast

On white

8.32
#8E1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1577
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1577#FFFFFF#000000##FFFFFF
##8E15771.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4279
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#961E47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1577;
/* rgb */ color: rgb(142, 21, 119);
/* oklch */ color: oklch(44.8% 0.182 337.8);
Tailwind
colors: {
  custom: {
    50: '#b3649e',
    500: '#8e1577',
    950: '#000000',
  },
}
SCSS
$custom: #8e1577;
$custom-light: #b3649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1577",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 311.405,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.18164,
    "h": 337.8
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#8E1577
secondary
#3DC256
accent
#F15A37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1577

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

Preview Lab → · Contrast checker → · Palette generator →

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