#8E1478#8E1478

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

Color values

HEX#8E1478
RGBrgb(142, 20, 120)
HSLhsl(311, 75%, 32%)
HSVhsv(311, 86%, 56%)
CMYKcmyk(0%, 85.9%, 15.5%, 44.3%)
CIE-LABlab(33.15, 57.10, -25.93)
CIE-LCHlch(33.15, 62.71, 335.57°)
OKLaboklab(44.82% 0.1689 -0.0707)
OKLCHoklch(44.82% 0.183 337.3)
XYZxyz(14.7960, 7.6086, 18.4550)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1478 #148E2A
analogous
#67148E #8E1478 #8E143B
triadic
#8E1478 #788E14 #14788E
tetradic
#8E1478 #8E6714 #148E2A #143B8E
square
#8E1478 #8E6714 #148E2A #143B8E
split-complementary
#8E1478 #3B8E14 #148E67
monochromatic
#23051D #580C4B #8E1478 #C41CA5 #E339C5

Accessibility & contrast

On white

8.33
#8E1478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1478
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1478#FFFFFF#000000##FFFFFF
##8E14781.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1478;
/* rgb */ color: rgb(142, 20, 120);
/* oklch */ color: oklch(44.8% 0.183 337.3);
Tailwind
colors: {
  custom: {
    50: '#b3649f',
    500: '#8e1478',
    950: '#000000',
  },
}
SCSS
$custom: #8e1478;
$custom-light: #b3649f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1478",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 310.82,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44821,
    "c": 0.18307,
    "h": 337.3
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#8E1478
secondary
#3CC254
accent
#F25836
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1478

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

Preview Lab → · Contrast checker → · Palette generator →

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