#871B74#871B74

#871B74 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.170 H 336.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#871B74
RGBrgb(135, 27, 116)
HSLhsl(311, 67%, 32%)
HSVhsv(311, 80%, 53%)
CMYKcmyk(0%, 80%, 14.1%, 47.1%)
CIE-LABlab(32.25, 53.13, -24.91)
CIE-LCHlch(32.25, 58.68, 334.88°)
OKLaboklab(43.86% 0.1563 -0.0679)
OKLCHoklch(43.86% 0.17 336.5)
XYZxyz(13.5362, 7.1970, 17.1959)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B74 #1B872E
analogous
#641B87 #871B74 #871B3E
triadic
#871B74 #74871B #1B7487
tetradic
#871B74 #87641B #1B872E #1B3E87
square
#871B74 #87641B #1B872E #1B3E87
split-complementary
#871B74 #3E871B #1B8764
monochromatic
#21071C #541148 #871B74 #BA25A0 #D943BF

Accessibility & contrast

On white

8.61
#871B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#871B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B74
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B74#FFFFFF#000000##FFFFFF
##871B741.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#445272
Tritanopia (blue-blind)
#8E2346
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871b74;
/* rgb */ color: rgb(135, 27, 116);
/* oklch */ color: oklch(43.9% 0.170 336.5);
Tailwind
colors: {
  custom: {
    50: '#ae659c',
    500: '#871b74',
    950: '#000000',
  },
}
SCSS
$custom: #871b74;
$custom-light: #ae659c;
$custom-dark: #000000;
JSON
{
  "hex": "#871b74",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 310.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.17046,
    "h": 336.5
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#871B74
secondary
#44BA59
accent
#EA5C3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871B74

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

Preview Lab → · Contrast checker → · Palette generator →

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