#8E1479#8E1479

#8E1479 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.9% C 0.184 H 336.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8E1479
RGBrgb(142, 20, 121)
HSLhsl(310, 75%, 32%)
HSVhsv(310, 86%, 56%)
CMYKcmyk(0%, 85.9%, 14.8%, 44.3%)
CIE-LABlab(33.21, 57.24, -26.48)
CIE-LCHlch(33.21, 63.07, 335.17°)
OKLaboklab(44.88% 0.169 -0.0722)
OKLCHoklch(44.88% 0.184 336.8)
XYZxyz(14.8570, 7.6330, 18.7763)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1479 #148E29
analogous
#66148E #8E1479 #8E143C
triadic
#8E1479 #798E14 #14798E
tetradic
#8E1479 #8E6614 #148E29 #143C8E
square
#8E1479 #8E6614 #148E29 #143C8E
split-complementary
#8E1479 #3C8E14 #148E66
monochromatic
#23051E #580C4B #8E1479 #C41CA7 #E339C6

Accessibility & contrast

On white

8.31
#8E1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E1479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1479
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1479#FFFFFF#000000##FFFFFF
##8E14791.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437B
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#961F48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1479;
/* rgb */ color: rgb(142, 20, 121);
/* oklch */ color: oklch(44.9% 0.184 336.8);
Tailwind
colors: {
  custom: {
    50: '#b364a0',
    500: '#8e1479',
    950: '#000000',
  },
}
SCSS
$custom: #8e1479;
$custom-light: #b364a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1479",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 310.328,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44875,
    "c": 0.18375,
    "h": 336.8
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#8E1479
secondary
#3CC253
accent
#F25636
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1479

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

Preview Lab → · Contrast checker → · Palette generator →

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