#871B66#871B66

#871B66 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.161 H 343.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#871B66
RGBrgb(135, 27, 102)
HSLhsl(318, 67%, 32%)
HSVhsv(318, 80%, 53%)
CMYKcmyk(0%, 80%, 24.4%, 47.1%)
CIE-LABlab(31.57, 51.14, -17.04)
CIE-LCHlch(31.57, 53.90, 341.58°)
OKLaboklab(43.15% 0.1545 -0.0456)
OKLCHoklch(43.15% 0.161 343.6)
XYZxyz(12.7824, 6.8955, 13.2256)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B66 #1B873C
analogous
#721B87 #871B66 #871B30
triadic
#871B66 #66871B #1B6687
tetradic
#871B66 #87721B #1B873C #1B3087
square
#871B66 #87721B #1B873C #1B3087
split-complementary
#871B66 #30871B #1B8772
monochromatic
#210719 #54113F #871B66 #BA258D #D943AB

Accessibility & contrast

On white

8.83
#871B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#871B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B66
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B66#FFFFFF#000000##FFFFFF
##871B661.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283F68
Deuteranopia (green-blind)
#4A5164
Tritanopia (blue-blind)
#901B3F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871b66;
/* rgb */ color: rgb(135, 27, 102);
/* oklch */ color: oklch(43.1% 0.161 343.6);
Tailwind
colors: {
  custom: {
    50: '#ae6491',
    500: '#871b66',
    950: '#000000',
  },
}
SCSS
$custom: #871b66;
$custom-light: #ae6491;
$custom-dark: #000000;
JSON
{
  "hex": "#871b66",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 318.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.16108,
    "h": 343.6
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#871B66
secondary
#44BA68
accent
#EA733E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #871B66

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

Preview Lab → · Contrast checker → · Palette generator →

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