#871F6A#871F6A

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

Color values

HEX#871F6A
RGBrgb(135, 31, 106)
HSLhsl(317, 63%, 33%)
HSVhsv(317, 77%, 53%)
CMYKcmyk(0%, 77%, 21.5%, 47.1%)
CIE-LABlab(32.20, 50.42, -18.63)
CIE-LCHlch(32.20, 53.75, 339.72°)
OKLaboklab(43.66% 0.1513 -0.0501)
OKLCHoklch(43.66% 0.159 341.7)
XYZxyz(13.0836, 7.1728, 14.3283)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F6A #1F873C
analogous
#701F87 #871F6A #871F36
triadic
#871F6A #6A871F #1F6A87
tetradic
#871F6A #87701F #1F873C #1F3687
square
#871F6A #87701F #1F873C #1F3687
split-complementary
#871F6A #36871F #1F8770
monochromatic
#23081C #551443 #871F6A #B92A91 #D64BAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871F6A#FFFFFF#000000##FFFFFF
##871F6A1.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)
#29416C
Deuteranopia (green-blind)
#4A5268
Tritanopia (blue-blind)
#902142
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871f6a;
/* rgb */ color: rgb(135, 31, 106);
/* oklch */ color: oklch(43.7% 0.159 341.7);
Tailwind
colors: {
  custom: {
    50: '#ae6694',
    500: '#871f6a',
    950: '#000000',
  },
}
SCSS
$custom: #871f6a;
$custom-light: #ae6694;
$custom-dark: #000000;
JSON
{
  "hex": "#871f6a",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 316.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.15938,
    "h": 341.7
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#871F6A
secondary
#4AB868
accent
#E67042
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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