#8D1478#8D1478

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

Color values

HEX#8D1478
RGBrgb(141, 20, 120)
HSLhsl(310, 75%, 32%)
HSVhsv(310, 86%, 55%)
CMYKcmyk(0%, 85.8%, 14.9%, 44.7%)
CIE-LABlab(32.96, 56.88, -26.25)
CIE-LCHlch(32.96, 62.64, 335.23°)
OKLaboklab(44.65% 0.1679 -0.0716)
OKLCHoklch(44.65% 0.183 336.9)
XYZxyz(14.6251, 7.5205, 18.4470)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1478 #148D29
analogous
#66148D #8D1478 #8D143C
triadic
#8D1478 #788D14 #14788D
tetradic
#8D1478 #8D6614 #148D29 #143C8D
square
#8D1478 #8D6614 #148D29 #143C8D
split-complementary
#8D1478 #3C8D14 #148D66
monochromatic
#22051D #570C4A #8D1478 #C31CA6 #E339C5

Accessibility & contrast

On white

8.39
#8D1478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D1478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1478
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1478#FFFFFF#000000##FFFFFF
##8D14781.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#465475
Tritanopia (blue-blind)
#951F47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1478;
/* rgb */ color: rgb(141, 20, 120);
/* oklch */ color: oklch(44.6% 0.183 336.9);
Tailwind
colors: {
  custom: {
    50: '#b2649f',
    500: '#8d1478',
    950: '#000000',
  },
}
SCSS
$custom: #8d1478;
$custom-light: #b2649f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1478",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 310.413,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4465,
    "c": 0.18255,
    "h": 336.9
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#8D1478
secondary
#3CC153
accent
#F25736
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1478

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

Preview Lab → · Contrast checker → · Palette generator →

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