#871D67#871D67

#871D67 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.160 H 343.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#871D67
RGBrgb(135, 29, 103)
HSLhsl(318, 65%, 32%)
HSVhsv(318, 79%, 53%)
CMYKcmyk(0%, 78.5%, 23.7%, 47.1%)
CIE-LABlab(31.83, 50.65, -17.27)
CIE-LCHlch(31.83, 53.52, 341.17°)
OKLaboklab(43.35% 0.1528 -0.0462)
OKLCHoklch(43.35% 0.16 343.2)
XYZxyz(12.8797, 7.0103, 13.5042)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D67 #1D873D
analogous
#721D87 #871D67 #871D32
triadic
#871D67 #67871D #1D6787
tetradic
#871D67 #87721D #1D873D #1D3287
square
#871D67 #87721D #1D873D #1D3287
split-complementary
#871D67 #32871D #1D8772
monochromatic
#22071A #551241 #871D67 #B9288D #D747AC

Accessibility & contrast

On white

8.74
#871D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##871D67#FFFFFF#000000##FFFFFF
##871D671.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)
#294069
Deuteranopia (green-blind)
#4A5165
Tritanopia (blue-blind)
#901D40
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871d67;
/* rgb */ color: rgb(135, 29, 103);
/* oklch */ color: oklch(43.4% 0.160 343.2);
Tailwind
colors: {
  custom: {
    50: '#ae6592',
    500: '#871d67',
    950: '#000000',
  },
}
SCSS
$custom: #871d67;
$custom-light: #ae6592;
$custom-dark: #000000;
JSON
{
  "hex": "#871d67",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 318.113,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.15962,
    "h": 343.2
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#871D67
secondary
#46B969
accent
#E87340
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871D67

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

Preview Lab → · Contrast checker → · Palette generator →

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