#871B73#871B73

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

Color values

HEX#871B73
RGBrgb(135, 27, 115)
HSLhsl(311, 67%, 32%)
HSVhsv(311, 80%, 53%)
CMYKcmyk(0%, 80%, 14.8%, 47.1%)
CIE-LABlab(32.20, 52.98, -24.36)
CIE-LCHlch(32.20, 58.31, 335.31°)
OKLaboklab(43.81% 0.1563 -0.0664)
OKLCHoklch(43.81% 0.17 337)
XYZxyz(13.4784, 7.1739, 16.8912)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B73 #1B872F
analogous
#651B87 #871B73 #871B3D
triadic
#871B73 #73871B #1B7387
tetradic
#871B73 #87651B #1B872F #1B3D87
square
#871B73 #87651B #1B872F #1B3D87
split-complementary
#871B73 #3D871B #1B8765
monochromatic
#21071C #541148 #871B73 #BA259E #D943BE

Accessibility & contrast

On white

8.63
#871B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#871B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B73
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B73#FFFFFF#000000##FFFFFF
##871B731.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4175
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#8F2346
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871b73;
/* rgb */ color: rgb(135, 27, 115);
/* oklch */ color: oklch(43.8% 0.170 337.0);
Tailwind
colors: {
  custom: {
    50: '#ae659b',
    500: '#871b73',
    950: '#000000',
  },
}
SCSS
$custom: #871b73;
$custom-light: #ae659b;
$custom-dark: #000000;
JSON
{
  "hex": "#871b73",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 311.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43808,
    "c": 0.16975,
    "h": 337
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#871B73
secondary
#44BA5A
accent
#EA5E3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871B73

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

Preview Lab → · Contrast checker → · Palette generator →

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