#871971#871971

#871971 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.6% C 0.170 H 337.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#871971
RGBrgb(135, 25, 113)
HSLhsl(312, 69%, 31%)
HSVhsv(312, 81%, 53%)
CMYKcmyk(0%, 81.5%, 16.3%, 47.1%)
CIE-LABlab(31.90, 53.26, -23.56)
CIE-LCHlch(31.90, 58.24, 336.13°)
OKLaboklab(43.56% 0.1578 -0.064)
OKLCHoklch(43.56% 0.17 337.9)
XYZxyz(13.3203, 7.0397, 16.2769)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871971 #19872F
analogous
#661987 #871971 #87193A
triadic
#871971 #718719 #197187
tetradic
#871971 #876619 #19872F #193A87
square
#871971 #876619 #19872F #193A87
split-complementary
#871971 #3A8719 #198766
monochromatic
#20061B #530F46 #871971 #BB239C #DB3FBC

Accessibility & contrast

On white

8.72
#871971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871971
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871971#FFFFFF#000000##FFFFFF
##8719711.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#8F2044
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871971;
/* rgb */ color: rgb(135, 25, 113);
/* oklch */ color: oklch(43.6% 0.170 337.9);
Tailwind
colors: {
  custom: {
    50: '#ae649a',
    500: '#871971',
    950: '#000000',
  },
}
SCSS
$custom: #871971;
$custom-light: #ae649a;
$custom-dark: #000000;
JSON
{
  "hex": "#871971",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 312,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43558,
    "c": 0.17028,
    "h": 337.9
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#871971
secondary
#41BA5A
accent
#EC5F3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871971

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

Preview Lab → · Contrast checker → · Palette generator →

#871971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva