#8D1C71#8D1C71

#8D1C71 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.171 H 340.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8D1C71
RGBrgb(141, 28, 113)
HSLhsl(315, 67%, 33%)
HSVhsv(315, 80%, 55%)
CMYKcmyk(0%, 80.1%, 19.9%, 44.7%)
CIE-LABlab(33.32, 53.83, -21.26)
CIE-LCHlch(33.32, 57.88, 338.45°)
OKLaboklab(44.79% 0.161 -0.0574)
OKLCHoklch(44.79% 0.171 340.4)
XYZxyz(14.3808, 7.6870, 16.3460)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C71 #1C8D38
analogous
#701C8D #8D1C71 #8D1C39
triadic
#8D1C71 #718D1C #1C718D
tetradic
#8D1C71 #8D701C #1C8D38 #1C398D
square
#8D1C71 #8D701C #1C8D38 #1C398D
split-complementary
#8D1C71 #398D1C #1C8D70
monochromatic
#27081F #5A1248 #8D1C71 #C0269A #DB49B7

Accessibility & contrast

On white

8.28
#8D1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1C71
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C71#FFFFFF#000000##FFFFFF
##8D1C711.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#962045
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1c71;
/* rgb */ color: rgb(141, 28, 113);
/* oklch */ color: oklch(44.8% 0.171 340.4);
Tailwind
colors: {
  custom: {
    50: '#b2669a',
    500: '#8d1c71',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c71;
$custom-light: #b2669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c71",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 314.867,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44792,
    "c": 0.17095,
    "h": 340.4
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#8D1C71
secondary
#48BD65
accent
#EA693E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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