#8D1871#8D1871

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

Color values

HEX#8D1871
RGBrgb(141, 24, 113)
HSLhsl(314, 71%, 32%)
HSVhsv(314, 83%, 55%)
CMYKcmyk(0%, 83%, 19.9%, 44.7%)
CIE-LABlab(32.94, 54.93, -21.85)
CIE-LCHlch(32.94, 59.12, 338.31°)
OKLaboklab(44.52% 0.1644 -0.0591)
OKLCHoklch(44.52% 0.175 340.2)
XYZxyz(14.2922, 7.5097, 16.3164)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1871 #188D34
analogous
#6F188D #8D1871 #8D1837
triadic
#8D1871 #718D18 #18718D
tetradic
#8D1871 #8D6F18 #188D34 #18378D
square
#8D1871 #8D6F18 #188D34 #18378D
split-complementary
#8D1871 #378D18 #188D6F
monochromatic
#24061D #590F47 #8D1871 #C1219B #DF41B9

Accessibility & contrast

On white

8.39
#8D1871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D1871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1871
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1871#FFFFFF#000000##FFFFFF
##8D18711.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1871;
/* rgb */ color: rgb(141, 24, 113);
/* oklch */ color: oklch(44.5% 0.175 340.2);
Tailwind
colors: {
  custom: {
    50: '#b2659a',
    500: '#8d1871',
    950: '#000000',
  },
}
SCSS
$custom: #8d1871;
$custom-light: #b2659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1871",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 314.359,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44517,
    "c": 0.17467,
    "h": 340.2
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#8D1871
secondary
#42BF60
accent
#EE653A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1871

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

Preview Lab → · Contrast checker → · Palette generator →

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