#8D1978#8D1978

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

Color values

HEX#8D1978
RGBrgb(141, 25, 120)
HSLhsl(311, 70%, 33%)
HSVhsv(311, 82%, 55%)
CMYKcmyk(0%, 82.3%, 14.9%, 44.7%)
CIE-LABlab(33.38, 55.67, -25.59)
CIE-LCHlch(33.38, 61.27, 335.31°)
OKLaboklab(44.95% 0.1643 -0.0697)
OKLCHoklch(44.95% 0.178 337)
XYZxyz(14.7226, 7.7155, 18.4795)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1978 #198D2E
analogous
#68198D #8D1978 #8D193E
triadic
#8D1978 #788D19 #19788D
tetradic
#8D1978 #8D6819 #198D2E #193E8D
square
#8D1978 #8D6819 #198D2E #193E8D
split-complementary
#8D1978 #3E8D19 #198D68
monochromatic
#250720 #59104C #8D1978 #C122A4 #DE43C2

Accessibility & contrast

On white

8.26
#8D1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8D1978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1978
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1978#FFFFFF#000000##FFFFFF
##8D19781.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D437A
Deuteranopia (green-blind)
#475575
Tritanopia (blue-blind)
#952248
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1978;
/* rgb */ color: rgb(141, 25, 120);
/* oklch */ color: oklch(45.0% 0.178 337.0);
Tailwind
colors: {
  custom: {
    50: '#b2659f',
    500: '#8d1978',
    950: '#000000',
  },
}
SCSS
$custom: #8d1978;
$custom-light: #b2659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1978",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 310.862,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.17848,
    "h": 337
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#8D1978
secondary
#43BF5A
accent
#ED5B3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1978

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

Preview Lab → · Contrast checker → · Palette generator →

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