#8C1978#8C1978

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

Color values

HEX#8C1978
RGBrgb(140, 25, 120)
HSLhsl(310, 70%, 32%)
HSVhsv(310, 82%, 55%)
CMYKcmyk(0%, 82.1%, 14.3%, 45.1%)
CIE-LABlab(33.20, 55.44, -25.90)
CIE-LCHlch(33.20, 61.19, 334.96°)
OKLaboklab(44.78% 0.1633 -0.0706)
OKLCHoklch(44.78% 0.178 336.6)
XYZxyz(14.5533, 7.6282, 18.4716)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1978 #198C2D
analogous
#67198C #8C1978 #8C193E
triadic
#8C1978 #788C19 #19788C
tetradic
#8C1978 #8C6719 #198C2D #193E8C
square
#8C1978 #8C6719 #198C2D #193E8C
split-complementary
#8C1978 #3E8C19 #198C67
monochromatic
#24061F #58104B #8C1978 #C022A5 #DD42C2

Accessibility & contrast

On white

8.32
#8C1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1978
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1978#FFFFFF#000000##FFFFFF
##8C19781.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c1978;
/* rgb */ color: rgb(140, 25, 120);
/* oklch */ color: oklch(44.8% 0.178 336.6);
Tailwind
colors: {
  custom: {
    50: '#b1659f',
    500: '#8c1978',
    950: '#000000',
  },
}
SCSS
$custom: #8c1978;
$custom-light: #b1659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1978",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 310.435,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.17792,
    "h": 336.6
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#8C1978
secondary
#43BE58
accent
#ED5A3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8C1978

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

Preview Lab → · Contrast checker → · Palette generator →

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