#8D1571#8D1571

#8D1571 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.177 H 340.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8D1571
RGBrgb(141, 21, 113)
HSLhsl(314, 74%, 32%)
HSVhsv(314, 85%, 55%)
CMYKcmyk(0%, 85.1%, 19.9%, 44.7%)
CIE-LABlab(32.68, 55.67, -22.25)
CIE-LCHlch(32.68, 59.95, 338.22°)
OKLaboklab(44.33% 0.1666 -0.0602)
OKLCHoklch(44.33% 0.177 340.1)
XYZxyz(14.2338, 7.3928, 16.2969)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1571 #158D31
analogous
#6D158D #8D1571 #8D1535
triadic
#8D1571 #718D15 #15718D
tetradic
#8D1571 #8D6D15 #158D31 #15358D
square
#8D1571 #8D6D15 #158D31 #15358D
split-complementary
#8D1571 #358D15 #158D6D
monochromatic
#22051C #580D46 #8D1571 #C21D9C #E23BBB

Accessibility & contrast

On white

8.47
#8D1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8D1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1571
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1571#FFFFFF#000000##FFFFFF
##8D15711.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#961A43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1571;
/* rgb */ color: rgb(141, 21, 113);
/* oklch */ color: oklch(44.3% 0.177 340.1);
Tailwind
colors: {
  custom: {
    50: '#b2649a',
    500: '#8d1571',
    950: '#000000',
  },
}
SCSS
$custom: #8d1571;
$custom-light: #b2649a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1571",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 314,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.17716,
    "h": 340.1
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#8D1571
secondary
#3DC15C
accent
#F16237
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1571

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

Preview Lab → · Contrast checker → · Palette generator →

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