#871972#871972

#871972 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.171 H 337.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#871972
RGBrgb(135, 25, 114)
HSLhsl(311, 69%, 31%)
HSVhsv(311, 81%, 53%)
CMYKcmyk(0%, 81.5%, 15.6%, 47.1%)
CIE-LABlab(31.95, 53.41, -24.12)
CIE-LCHlch(31.95, 58.60, 335.70°)
OKLaboklab(43.61% 0.1579 -0.0656)
OKLCHoklch(43.61% 0.171 337.4)
XYZxyz(13.3769, 7.0624, 16.5750)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871972 #19872E
analogous
#651987 #871972 #87193B
triadic
#871972 #728719 #197287
tetradic
#871972 #876519 #19872E #193B87
square
#871972 #876519 #19872E #193B87
split-complementary
#871972 #3B8719 #198765
monochromatic
#20061B #530F46 #871972 #BB239E #DB3FBE

Accessibility & contrast

On white

8.71
#871972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871972
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871972#FFFFFF#000000##FFFFFF
##8719721.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4174
Deuteranopia (green-blind)
#455170
Tritanopia (blue-blind)
#8F2145
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871972;
/* rgb */ color: rgb(135, 25, 114);
/* oklch */ color: oklch(43.6% 0.171 337.4);
Tailwind
colors: {
  custom: {
    50: '#ae649b',
    500: '#871972',
    950: '#000000',
  },
}
SCSS
$custom: #871972;
$custom-light: #ae649b;
$custom-dark: #000000;
JSON
{
  "hex": "#871972",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 311.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43611,
    "c": 0.17098,
    "h": 337.4
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#871972
secondary
#41BA58
accent
#EC5E3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871972

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

Preview Lab → · Contrast checker → · Palette generator →

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