#871B61#871B61

#871B61 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 346.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#871B61
RGBrgb(135, 27, 97)
HSLhsl(321, 67%, 32%)
HSVhsv(321, 80%, 53%)
CMYKcmyk(0%, 80%, 28.1%, 47.1%)
CIE-LABlab(31.35, 50.48, -14.15)
CIE-LCHlch(31.35, 52.42, 344.34°)
OKLaboklab(42.91% 0.1535 -0.0375)
OKLCHoklch(42.91% 0.158 346.3)
XYZxyz(12.5419, 6.7992, 11.9588)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B61 #1B8741
analogous
#771B87 #871B61 #871B2B
triadic
#871B61 #61871B #1B6187
tetradic
#871B61 #87771B #1B8741 #1B2B87
square
#871B61 #87771B #1B8741 #1B2B87
split-complementary
#871B61 #2B871B #1B8777
monochromatic
#210718 #54113C #871B61 #BA2586 #D943A4

Accessibility & contrast

On white

8.90
#871B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#871B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B61
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B61#FFFFFF#000000##FFFFFF
##871B611.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3E63
Deuteranopia (green-blind)
#4B505F
Tritanopia (blue-blind)
#91173C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871b61;
/* rgb */ color: rgb(135, 27, 97);
/* oklch */ color: oklch(42.9% 0.158 346.3);
Tailwind
colors: {
  custom: {
    50: '#ae648e',
    500: '#871b61',
    950: '#000000',
  },
}
SCSS
$custom: #871b61;
$custom-light: #ae648e;
$custom-dark: #000000;
JSON
{
  "hex": "#871b61",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 321.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.15805,
    "h": 346.3
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#871B61
secondary
#44BA6D
accent
#EA7B3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871B61

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

Preview Lab → · Contrast checker → · Palette generator →

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