#871B70#871B70

#871B70 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.168 H 338.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#871B70
RGBrgb(135, 27, 112)
HSLhsl(313, 67%, 32%)
HSVhsv(313, 80%, 53%)
CMYKcmyk(0%, 80%, 17%, 47.1%)
CIE-LABlab(32.05, 52.54, -22.69)
CIE-LCHlch(32.05, 57.23, 336.64°)
OKLaboklab(43.65% 0.156 -0.0616)
OKLCHoklch(43.65% 0.168 338.5)
XYZxyz(13.3086, 7.1059, 15.9968)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B70 #1B8732
analogous
#681B87 #871B70 #871B3A
triadic
#871B70 #70871B #1B7087
tetradic
#871B70 #87681B #1B8732 #1B3A87
square
#871B70 #87681B #1B8732 #1B3A87
split-complementary
#871B70 #3A871B #1B8768
monochromatic
#21071B #541146 #871B70 #BA259A #D943B9

Accessibility & contrast

On white

8.67
#871B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#871B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B70
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B70#FFFFFF#000000##FFFFFF
##871B701.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214172
Deuteranopia (green-blind)
#46516E
Tritanopia (blue-blind)
#8F2144
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871b70;
/* rgb */ color: rgb(135, 27, 112);
/* oklch */ color: oklch(43.6% 0.168 338.5);
Tailwind
colors: {
  custom: {
    50: '#ae6599',
    500: '#871b70',
    950: '#000000',
  },
}
SCSS
$custom: #871b70;
$custom-light: #ae6599;
$custom-dark: #000000;
JSON
{
  "hex": "#871b70",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 312.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43649,
    "c": 0.16767,
    "h": 338.5
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#871B70
secondary
#44BA5D
accent
#EA633E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871B70

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

Preview Lab → · Contrast checker → · Palette generator →

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