#8D1771#8D1771

#8D1771 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.176 H 340.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8D1771
RGBrgb(141, 23, 113)
HSLhsl(314, 72%, 32%)
HSVhsv(314, 84%, 55%)
CMYKcmyk(0%, 83.7%, 19.9%, 44.7%)
CIE-LABlab(32.85, 55.19, -21.99)
CIE-LCHlch(32.85, 59.41, 338.28°)
OKLaboklab(44.45% 0.1652 -0.0594)
OKLCHoklch(44.45% 0.176 340.2)
XYZxyz(14.2720, 7.4693, 16.3097)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1771 #178D33
analogous
#6E178D #8D1771 #8D1736
triadic
#8D1771 #718D17 #17718D
tetradic
#8D1771 #8D6E17 #178D33 #17368D
square
#8D1771 #8D6E17 #178D33 #17368D
split-complementary
#8D1771 #368D17 #178D6E
monochromatic
#24061D #580E47 #8D1771 #C2209B #E03FB9

Accessibility & contrast

On white

8.42
#8D1771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8D1771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1771
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1771#FFFFFF#000000##FFFFFF
##8D17711.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#961C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1771;
/* rgb */ color: rgb(141, 23, 113);
/* oklch */ color: oklch(44.5% 0.176 340.2);
Tailwind
colors: {
  custom: {
    50: '#b2659a',
    500: '#8d1771',
    950: '#000000',
  },
}
SCSS
$custom: #8d1771;
$custom-light: #b2659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1771",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 314.237,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44454,
    "c": 0.17552,
    "h": 340.2
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#8D1771
secondary
#40C05E
accent
#EF6439
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1771

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

Preview Lab → · Contrast checker → · Palette generator →

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