#871872#871872

#871872 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.172 H 337.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#871872
RGBrgb(135, 24, 114)
HSLhsl(311, 70%, 31%)
HSVhsv(311, 82%, 53%)
CMYKcmyk(0%, 82.2%, 15.6%, 47.1%)
CIE-LABlab(31.85, 53.68, -24.27)
CIE-LCHlch(31.85, 58.91, 335.67°)
OKLaboklab(43.54% 0.1587 -0.0661)
OKLCHoklch(43.54% 0.172 337.4)
XYZxyz(13.3559, 7.0204, 16.5680)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871872 #18872D
analogous
#641887 #871872 #87183A
triadic
#871872 #728718 #187287
tetradic
#871872 #876418 #18872D #183A87
square
#871872 #876418 #18872D #183A87
split-complementary
#871872 #3A8718 #188764
monochromatic
#1F061A #530F46 #871872 #BB219E #DC3DBE

Accessibility & contrast

On white

8.74
#871872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871872
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871872#FFFFFF#000000##FFFFFF
##8718721.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#445170
Tritanopia (blue-blind)
#8F2044
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871872;
/* rgb */ color: rgb(135, 24, 114);
/* oklch */ color: oklch(43.5% 0.172 337.4);
Tailwind
colors: {
  custom: {
    50: '#ae649b',
    500: '#871872',
    950: '#000000',
  },
}
SCSS
$custom: #871872;
$custom-light: #ae649b;
$custom-dark: #000000;
JSON
{
  "hex": "#871872",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 311.351,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.1719,
    "h": 337.4
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#871872
secondary
#40BB57
accent
#ED5D3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871872

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

Preview Lab → · Contrast checker → · Palette generator →

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