#871A68#871A68

#871A68 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.163 H 342.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#871A68
RGBrgb(135, 26, 104)
HSLhsl(317, 68%, 32%)
HSVhsv(317, 81%, 53%)
CMYKcmyk(0%, 80.7%, 23%, 47.1%)
CIE-LABlab(31.56, 51.70, -18.34)
CIE-LCHlch(31.56, 54.86, 340.47°)
OKLaboklab(43.17% 0.1558 -0.0492)
OKLCHoklch(43.17% 0.163 342.5)
XYZxyz(12.8602, 6.8905, 13.7468)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A68 #1A8739
analogous
#701A87 #871A68 #871A32
triadic
#871A68 #68871A #1A6887
tetradic
#871A68 #87701A #1A8739 #1A3287
square
#871A68 #87701A #1A8739 #1A3287
split-complementary
#871A68 #32871A #1A8770
monochromatic
#200619 #541040 #871A68 #BA2490 #DA41AF

Accessibility & contrast

On white

8.83
#871A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#871A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A68
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A68#FFFFFF#000000##FFFFFF
##871A681.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263F6A
Deuteranopia (green-blind)
#495166
Tritanopia (blue-blind)
#901B3F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871a68;
/* rgb */ color: rgb(135, 26, 104);
/* oklch */ color: oklch(43.2% 0.163 342.5);
Tailwind
colors: {
  custom: {
    50: '#ae6493',
    500: '#871a68',
    950: '#000000',
  },
}
SCSS
$custom: #871a68;
$custom-light: #ae6493;
$custom-dark: #000000;
JSON
{
  "hex": "#871a68",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 317.064,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43169,
    "c": 0.16335,
    "h": 342.5
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#871A68
secondary
#42BA65
accent
#EB6F3D
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871A68

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

Preview Lab → · Contrast checker → · Palette generator →

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