#871F6E#871F6E

#871F6E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.162 H 339.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#871F6E
RGBrgb(135, 31, 110)
HSLhsl(314, 63%, 33%)
HSVhsv(314, 77%, 53%)
CMYKcmyk(0%, 77%, 18.5%, 47.1%)
CIE-LABlab(32.39, 50.99, -20.89)
CIE-LCHlch(32.39, 55.11, 337.72°)
OKLaboklab(43.86% 0.1519 -0.0565)
OKLCHoklch(43.86% 0.162 339.6)
XYZxyz(13.2965, 7.2580, 15.4495)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F6E #1F8738
analogous
#6C1F87 #871F6E #871F3A
triadic
#871F6E #6E871F #1F6E87
tetradic
#871F6E #876C1F #1F8738 #1F3A87
square
#871F6E #876C1F #1F8738 #1F3A87
split-complementary
#871F6E #3A871F #1F876C
monochromatic
#23081D #551445 #871F6E #B92A97 #D64BB4

Accessibility & contrast

On white

8.57
#871F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#871F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F6E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F6E#FFFFFF#000000##FFFFFF
##871F6E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#48526C
Tritanopia (blue-blind)
#8F2344
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871f6e;
/* rgb */ color: rgb(135, 31, 110);
/* oklch */ color: oklch(43.9% 0.162 339.6);
Tailwind
colors: {
  custom: {
    50: '#ad6698',
    500: '#871f6e',
    950: '#000000',
  },
}
SCSS
$custom: #871f6e;
$custom-light: #ad6698;
$custom-dark: #000000;
JSON
{
  "hex": "#871f6e",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 314.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.16207,
    "h": 339.6
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#871F6E
secondary
#4AB864
accent
#E66942
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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