#8D1878#8D1878

#8D1878 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.179 H 337.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8D1878
RGBrgb(141, 24, 120)
HSLhsl(311, 71%, 32%)
HSVhsv(311, 83%, 55%)
CMYKcmyk(0%, 83%, 14.9%, 44.7%)
CIE-LABlab(33.29, 55.93, -25.73)
CIE-LCHlch(33.29, 61.56, 335.29°)
OKLaboklab(44.89% 0.1651 -0.0701)
OKLCHoklch(44.89% 0.179 337)
XYZxyz(14.7016, 7.6735, 18.4725)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1878 #188D2D
analogous
#67188D #8D1878 #8D183E
triadic
#8D1878 #788D18 #18788D
tetradic
#8D1878 #8D6718 #188D2D #183E8D
square
#8D1878 #8D6718 #188D2D #183E8D
split-complementary
#8D1878 #3E8D18 #188D67
monochromatic
#24061F #590F4B #8D1878 #C121A5 #DF41C2

Accessibility & contrast

On white

8.29
#8D1878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1878
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1878#FFFFFF#000000##FFFFFF
##8D18781.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437A
Deuteranopia (green-blind)
#475475
Tritanopia (blue-blind)
#952148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1878;
/* rgb */ color: rgb(141, 24, 120);
/* oklch */ color: oklch(44.9% 0.179 337.0);
Tailwind
colors: {
  custom: {
    50: '#b2659f',
    500: '#8d1878',
    950: '#000000',
  },
}
SCSS
$custom: #8d1878;
$custom-light: #b2659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1878",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 310.769,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44886,
    "c": 0.17934,
    "h": 337
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#8D1878
secondary
#42BF58
accent
#EE5A3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1878

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

Preview Lab → · Contrast checker → · Palette generator →

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