#871C67#871C67

#871C67 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.161 H 343.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#871C67
RGBrgb(135, 28, 103)
HSLhsl(318, 66%, 32%)
HSVhsv(318, 79%, 53%)
CMYKcmyk(0%, 79.3%, 23.7%, 47.1%)
CIE-LABlab(31.72, 50.97, -17.44)
CIE-LCHlch(31.72, 53.87, 341.11°)
OKLaboklab(43.27% 0.1537 -0.0467)
OKLCHoklch(43.27% 0.161 343.1)
XYZxyz(12.8556, 6.9620, 13.4961)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C67 #1C873C
analogous
#721C87 #871C67 #871C32
triadic
#871C67 #67871C #1C6787
tetradic
#871C67 #87721C #1C873C #1C3287
square
#871C67 #87721C #1C873C #1C3287
split-complementary
#871C67 #32871C #1C8772
monochromatic
#22071A #541140 #871C67 #BA278E #D845AC

Accessibility & contrast

On white

8.78
#871C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C67
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C67#FFFFFF#000000##FFFFFF
##871C671.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283F69
Deuteranopia (green-blind)
#4A5165
Tritanopia (blue-blind)
#901C3F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871c67;
/* rgb */ color: rgb(135, 28, 103);
/* oklch */ color: oklch(43.3% 0.161 343.1);
Tailwind
colors: {
  custom: {
    50: '#ae6592',
    500: '#871c67',
    950: '#000000',
  },
}
SCSS
$custom: #871c67;
$custom-light: #ae6592;
$custom-dark: #000000;
JSON
{
  "hex": "#871c67",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 317.944,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.16068,
    "h": 343.1
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#871C67
secondary
#45BA68
accent
#E9723F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871C67

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

Preview Lab → · Contrast checker → · Palette generator →

#871C67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva