#871871#871871

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

Color values

HEX#871871
RGBrgb(135, 24, 113)
HSLhsl(312, 70%, 31%)
HSVhsv(312, 82%, 53%)
CMYKcmyk(0%, 82.2%, 16.3%, 47.1%)
CIE-LABlab(31.80, 53.54, -23.71)
CIE-LCHlch(31.80, 58.55, 336.11°)
OKLaboklab(43.49% 0.1586 -0.0645)
OKLCHoklch(43.49% 0.171 337.9)
XYZxyz(13.2993, 6.9977, 16.2699)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871871 #18872E
analogous
#651887 #871871 #871839
triadic
#871871 #718718 #187187
tetradic
#871871 #876518 #18872E #183987
square
#871871 #876518 #18872E #183987
split-complementary
#871871 #398718 #188765
monochromatic
#1F061A #530F46 #871871 #BB219C #DC3DBD

Accessibility & contrast

On white

8.75
#871871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871871
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871871#FFFFFF#000000##FFFFFF
##8718711.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871871;
/* rgb */ color: rgb(135, 24, 113);
/* oklch */ color: oklch(43.5% 0.171 337.9);
Tailwind
colors: {
  custom: {
    50: '#ae649a',
    500: '#871871',
    950: '#000000',
  },
}
SCSS
$custom: #871871;
$custom-light: #ae649a;
$custom-dark: #000000;
JSON
{
  "hex": "#871871",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 311.892,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43489,
    "c": 0.17121,
    "h": 337.9
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#871871
secondary
#40BB58
accent
#ED5E3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871871

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

Preview Lab → · Contrast checker → · Palette generator →

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