#871A6F#871A6F

#871A6F is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.168 H 338.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#871A6F
RGBrgb(135, 26, 111)
HSLhsl(313, 68%, 32%)
HSVhsv(313, 81%, 53%)
CMYKcmyk(0%, 80.7%, 17.8%, 47.1%)
CIE-LABlab(31.89, 52.69, -22.29)
CIE-LCHlch(31.89, 57.21, 337.07°)
OKLaboklab(43.52% 0.1567 -0.0604)
OKLCHoklch(43.52% 0.168 338.9)
XYZxyz(13.2307, 7.0387, 15.6977)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A6F #1A8732
analogous
#691A87 #871A6F #871A39
triadic
#871A6F #6F871A #1A6F87
tetradic
#871A6F #87691A #1A8732 #1A3987
square
#871A6F #87691A #1A8732 #1A3987
split-complementary
#871A6F #39871A #1A8769
monochromatic
#20061B #541045 #871A6F #BA2499 #DA41B9

Accessibility & contrast

On white

8.72
#871A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A6F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A6F#FFFFFF#000000##FFFFFF
##871A6F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#46516D
Tritanopia (blue-blind)
#8F2043
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871a6f;
/* rgb */ color: rgb(135, 26, 111);
/* oklch */ color: oklch(43.5% 0.168 338.9);
Tailwind
colors: {
  custom: {
    50: '#ae6498',
    500: '#871a6f',
    950: '#000000',
  },
}
SCSS
$custom: #871a6f;
$custom-light: #ae6498;
$custom-dark: #000000;
JSON
{
  "hex": "#871a6f",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 313.211,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43523,
    "c": 0.16797,
    "h": 338.9
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#871A6F
secondary
#42BA5D
accent
#EB633D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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