#871B63#871B63

#871B63 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.159 H 345.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#871B63
RGBrgb(135, 27, 99)
HSLhsl(320, 67%, 32%)
HSVhsv(320, 80%, 53%)
CMYKcmyk(0%, 80%, 26.7%, 47.1%)
CIE-LABlab(31.43, 50.74, -15.31)
CIE-LCHlch(31.43, 53.00, 343.21°)
OKLaboklab(43.01% 0.1539 -0.0407)
OKLCHoklch(43.01% 0.159 345.2)
XYZxyz(12.6363, 6.8370, 12.4562)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B63 #1B873F
analogous
#751B87 #871B63 #871B2D
triadic
#871B63 #63871B #1B6387
tetradic
#871B63 #87751B #1B873F #1B2D87
square
#871B63 #87751B #1B873F #1B2D87
split-complementary
#871B63 #2D871B #1B8775
monochromatic
#210718 #54113E #871B63 #BA2588 #D943A7

Accessibility & contrast

On white

8.87
#871B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B63
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B63#FFFFFF#000000##FFFFFF
##871B631.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E65
Deuteranopia (green-blind)
#4B5061
Tritanopia (blue-blind)
#91193D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871b63;
/* rgb */ color: rgb(135, 27, 99);
/* oklch */ color: oklch(43.0% 0.159 345.2);
Tailwind
colors: {
  custom: {
    50: '#ae648f',
    500: '#871b63',
    950: '#000000',
  },
}
SCSS
$custom: #871b63;
$custom-light: #ae648f;
$custom-dark: #000000;
JSON
{
  "hex": "#871b63",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 320,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.15924,
    "h": 345.2
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#871B63
secondary
#44BA6B
accent
#EA773E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871B63

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

Preview Lab → · Contrast checker → · Palette generator →

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