#871B6E#871B6E

#871B6E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.166 H 339.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#871B6E
RGBrgb(135, 27, 110)
HSLhsl(314, 67%, 32%)
HSVhsv(314, 80%, 53%)
CMYKcmyk(0%, 80%, 18.5%, 47.1%)
CIE-LABlab(31.95, 52.25, -21.57)
CIE-LCHlch(31.95, 56.53, 337.56°)
OKLaboklab(43.55% 0.1557 -0.0584)
OKLCHoklch(43.55% 0.166 339.4)
XYZxyz(13.1984, 7.0619, 15.4168)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B6E #1B8734
analogous
#6A1B87 #871B6E #871B38
triadic
#871B6E #6E871B #1B6E87
tetradic
#871B6E #876A1B #1B8734 #1B3887
square
#871B6E #876A1B #1B8734 #1B3887
split-complementary
#871B6E #38871B #1B876A
monochromatic
#21071B #541144 #871B6E #BA2598 #D943B7

Accessibility & contrast

On white

8.71
#871B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B6E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B6E#FFFFFF#000000##FFFFFF
##871B6E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234070
Deuteranopia (green-blind)
#47516C
Tritanopia (blue-blind)
#8F2043
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871b6e;
/* rgb */ color: rgb(135, 27, 110);
/* oklch */ color: oklch(43.5% 0.166 339.4);
Tailwind
colors: {
  custom: {
    50: '#ae6598',
    500: '#871b6e',
    950: '#000000',
  },
}
SCSS
$custom: #871b6e;
$custom-light: #ae6598;
$custom-dark: #000000;
JSON
{
  "hex": "#871b6e",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 313.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43545,
    "c": 0.1663,
    "h": 339.4
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#871B6E
secondary
#44BA5F
accent
#EA663E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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