#871A67#871A67

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

Color values

HEX#871A67
RGBrgb(135, 26, 103)
HSLhsl(318, 68%, 32%)
HSVhsv(318, 81%, 53%)
CMYKcmyk(0%, 80.7%, 23.7%, 47.1%)
CIE-LABlab(31.51, 51.57, -17.77)
CIE-LCHlch(31.51, 54.54, 340.99°)
OKLaboklab(43.12% 0.1556 -0.0476)
OKLCHoklch(43.12% 0.163 343)
XYZxyz(12.8097, 6.8703, 13.4808)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A67 #1A873A
analogous
#711A87 #871A67 #871A30
triadic
#871A67 #67871A #1A6787
tetradic
#871A67 #87711A #1A873A #1A3087
square
#871A67 #87711A #1A873A #1A3087
split-complementary
#871A67 #30871A #1A8771
monochromatic
#200619 #541040 #871A67 #BA248E #DA41AD

Accessibility & contrast

On white

8.85
#871A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A67
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A67#FFFFFF#000000##FFFFFF
##871A671.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273F69
Deuteranopia (green-blind)
#495065
Tritanopia (blue-blind)
#901A3F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871a67;
/* rgb */ color: rgb(135, 26, 103);
/* oklch */ color: oklch(43.1% 0.163 343.0);
Tailwind
colors: {
  custom: {
    50: '#ae6492',
    500: '#871a67',
    950: '#000000',
  },
}
SCSS
$custom: #871a67;
$custom-light: #ae6492;
$custom-dark: #000000;
JSON
{
  "hex": "#871a67",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 317.615,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4312,
    "c": 0.16271,
    "h": 343
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#871A67
secondary
#42BA66
accent
#EB703D
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871A67

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

Preview Lab → · Contrast checker → · Palette generator →

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