#8D1D71#8D1D71

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

Color values

HEX#8D1D71
RGBrgb(141, 29, 113)
HSLhsl(315, 66%, 33%)
HSVhsv(315, 79%, 55%)
CMYKcmyk(0%, 79.4%, 19.9%, 44.7%)
CIE-LABlab(33.43, 53.54, -21.10)
CIE-LCHlch(33.43, 57.55, 338.49°)
OKLaboklab(44.87% 0.1601 -0.0569)
OKLCHoklch(44.87% 0.17 340.4)
XYZxyz(14.4049, 7.7352, 16.3540)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D71 #1D8D39
analogous
#711D8D #8D1D71 #8D1D39
triadic
#8D1D71 #718D1D #1D718D
tetradic
#8D1D71 #8D711D #1D8D39 #1D398D
square
#8D1D71 #8D711D #1D8D39 #1D398D
split-complementary
#8D1D71 #398D1D #1D8D71
monochromatic
#270820 #5A1348 #8D1D71 #C0279A #DA4BB6

Accessibility & contrast

On white

8.25
#8D1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D1D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D71
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D71#FFFFFF#000000##FFFFFF
##8D1D711.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1d71;
/* rgb */ color: rgb(141, 29, 113);
/* oklch */ color: oklch(44.9% 0.170 340.4);
Tailwind
colors: {
  custom: {
    50: '#b2679a',
    500: '#8d1d71',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d71;
$custom-light: #b2679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d71",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 315,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44867,
    "c": 0.16996,
    "h": 340.4
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#8D1D71
secondary
#4ABC66
accent
#E9693F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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