#8D1C72#8D1C72

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

Color values

HEX#8D1C72
RGBrgb(141, 28, 114)
HSLhsl(314, 67%, 33%)
HSVhsv(314, 80%, 55%)
CMYKcmyk(0%, 80.1%, 19.1%, 44.7%)
CIE-LABlab(33.37, 53.98, -21.82)
CIE-LCHlch(33.37, 58.22, 337.99°)
OKLaboklab(44.84% 0.1612 -0.059)
OKLCHoklch(44.84% 0.172 339.9)
XYZxyz(14.4374, 7.7096, 16.6441)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C72 #1C8D37
analogous
#6F1C8D #8D1C72 #8D1C3A
triadic
#8D1C72 #728D1C #1C728D
tetradic
#8D1C72 #8D6F1C #1C8D37 #1C3A8D
square
#8D1C72 #8D6F1C #1C8D37 #1C3A8D
split-complementary
#8D1C72 #3A8D1C #1C8D6F
monochromatic
#27081F #5A1249 #8D1C72 #C0269B #DB49B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1C72#FFFFFF#000000##FFFFFF
##8D1C721.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)
#254374
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#962046
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1c72;
/* rgb */ color: rgb(141, 28, 114);
/* oklch */ color: oklch(44.8% 0.172 339.9);
Tailwind
colors: {
  custom: {
    50: '#b2669a',
    500: '#8d1c72',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c72;
$custom-light: #b2669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c72",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 314.336,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44843,
    "c": 0.17161,
    "h": 339.9
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#8D1C72
secondary
#48BD64
accent
#EA673E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1C72

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

Preview Lab → · Contrast checker → · Palette generator →

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