#8D1778#8D1778

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

Color values

HEX#8D1778
RGBrgb(141, 23, 120)
HSLhsl(311, 72%, 32%)
HSVhsv(311, 84%, 55%)
CMYKcmyk(0%, 83.7%, 14.9%, 44.7%)
CIE-LABlab(33.21, 56.18, -25.87)
CIE-LCHlch(33.21, 61.85, 335.28°)
OKLaboklab(44.82% 0.1658 -0.0705)
OKLCHoklch(44.82% 0.18 337)
XYZxyz(14.6814, 7.6330, 18.4658)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1778 #178D2C
analogous
#67178D #8D1778 #8D173D
triadic
#8D1778 #788D17 #17788D
tetradic
#8D1778 #8D6717 #178D2C #173D8D
square
#8D1778 #8D6717 #178D2C #173D8D
split-complementary
#8D1778 #3D8D17 #178D67
monochromatic
#24061E #580E4B #8D1778 #C220A5 #E03FC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1778#FFFFFF#000000##FFFFFF
##8D17781.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)
#1B437A
Deuteranopia (green-blind)
#475475
Tritanopia (blue-blind)
#952048
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1778;
/* rgb */ color: rgb(141, 23, 120);
/* oklch */ color: oklch(44.8% 0.180 337.0);
Tailwind
colors: {
  custom: {
    50: '#b2659f',
    500: '#8d1778',
    950: '#000000',
  },
}
SCSS
$custom: #8d1778;
$custom-light: #b2659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1778",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 310.678,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.18019,
    "h": 337
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#8D1778
secondary
#40C057
accent
#EF5939
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1778

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

Preview Lab → · Contrast checker → · Palette generator →

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