#8D1C76#8D1C76

#8D1C76 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.174 H 338.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8D1C76
RGBrgb(141, 28, 118)
HSLhsl(312, 67%, 33%)
HSVhsv(312, 80%, 55%)
CMYKcmyk(0%, 80.1%, 16.3%, 44.7%)
CIE-LABlab(33.57, 54.55, -24.04)
CIE-LCHlch(33.57, 59.61, 336.22°)
OKLaboklab(45.05% 0.1616 -0.0653)
OKLCHoklch(45.05% 0.174 338)
XYZxyz(14.6701, 7.8027, 17.8695)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C76 #1C8D33
analogous
#6B1C8D #8D1C76 #8D1C3E
triadic
#8D1C76 #768D1C #1C768D
tetradic
#8D1C76 #8D6B1C #1C8D33 #1C3E8D
square
#8D1C76 #8D6B1C #1C8D33 #1C3E8D
split-complementary
#8D1C76 #3E8D1C #1C8D6B
monochromatic
#270821 #5A124B #8D1C76 #C026A1 #DB49BD

Accessibility & contrast

On white

8.20
#8D1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8D1C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C76
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C76#FFFFFF#000000##FFFFFF
##8D1C761.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#952348
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1c76;
/* rgb */ color: rgb(141, 28, 118);
/* oklch */ color: oklch(45.1% 0.174 338.0);
Tailwind
colors: {
  custom: {
    50: '#b2669e',
    500: '#8d1c76',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c76;
$custom-light: #b2669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c76",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 312.212,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.17432,
    "h": 338
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#8D1C76
secondary
#48BD60
accent
#EA613E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1C76

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

Preview Lab → · Contrast checker → · Palette generator →

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