#871B6F#871B6F

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

Color values

HEX#871B6F
RGBrgb(135, 27, 111)
HSLhsl(313, 67%, 32%)
HSVhsv(313, 80%, 53%)
CMYKcmyk(0%, 80%, 17.8%, 47.1%)
CIE-LABlab(32.00, 52.39, -22.13)
CIE-LCHlch(32.00, 56.88, 337.10°)
OKLaboklab(43.6% 0.1558 -0.06)
OKLCHoklch(43.6% 0.167 338.9)
XYZxyz(13.2532, 7.0838, 15.7052)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B6F #1B8733
analogous
#691B87 #871B6F #871B39
triadic
#871B6F #6F871B #1B6F87
tetradic
#871B6F #87691B #1B8733 #1B3987
square
#871B6F #87691B #1B8733 #1B3987
split-complementary
#871B6F #39871B #1B8769
monochromatic
#21071B #541145 #871B6F #BA2599 #D943B8

Accessibility & contrast

On white

8.69
#871B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B6F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B6F#FFFFFF#000000##FFFFFF
##871B6F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224171
Deuteranopia (green-blind)
#47516D
Tritanopia (blue-blind)
#8F2044
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871b6f;
/* rgb */ color: rgb(135, 27, 111);
/* oklch */ color: oklch(43.6% 0.167 338.9);
Tailwind
colors: {
  custom: {
    50: '#ae6598',
    500: '#871b6f',
    950: '#000000',
  },
}
SCSS
$custom: #871b6f;
$custom-light: #ae6598;
$custom-dark: #000000;
JSON
{
  "hex": "#871b6f",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 313.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.16698,
    "h": 338.9
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#871B6F
secondary
#44BA5E
accent
#EA643E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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