#872871#872871

#872871 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.153 H 338.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#872871
RGBrgb(135, 40, 113)
HSLhsl(314, 54%, 34%)
HSVhsv(314, 70%, 53%)
CMYKcmyk(0%, 70.4%, 16.3%, 47.1%)
CIE-LABlab(33.69, 48.16, -20.76)
CIE-LCHlch(33.69, 52.45, 336.68°)
OKLaboklab(44.86% 0.1425 -0.0562)
OKLCHoklch(44.86% 0.153 338.5)
XYZxyz(13.7314, 7.8620, 16.4139)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872871 #28873E
analogous
#6E2887 #872871 #872841
triadic
#872871 #718728 #287187
tetradic
#872871 #876E28 #28873E #284187
square
#872871 #876E28 #28873E #284187
split-complementary
#872871 #418728 #28876E
monochromatic
#290C22 #581A49 #872871 #B63699 #CE5BB4

Accessibility & contrast

On white

8.16
#872871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#872871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872871
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872871#FFFFFF#000000##FFFFFF
##8728711.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#8F2C49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872871;
/* rgb */ color: rgb(135, 40, 113);
/* oklch */ color: oklch(44.9% 0.153 338.5);
Tailwind
colors: {
  custom: {
    50: '#ad6a9a',
    500: '#872871',
    950: '#000000',
  },
}
SCSS
$custom: #872871;
$custom-light: #ad6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#872871",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 313.895,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.15314,
    "h": 338.5
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#872871
secondary
#57B46D
accent
#DE6C4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872871

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

Preview Lab → · Contrast checker → · Palette generator →

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