#871966#871966

#871966 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.163 H 343.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#871966
RGBrgb(135, 25, 102)
HSLhsl(318, 69%, 31%)
HSVhsv(318, 81%, 53%)
CMYKcmyk(0%, 81.5%, 24.4%, 47.1%)
CIE-LABlab(31.36, 51.72, -17.35)
CIE-LCHlch(31.36, 54.55, 341.46°)
OKLaboklab(43% 0.1563 -0.0464)
OKLCHoklch(43% 0.163 343.5)
XYZxyz(12.7381, 6.8069, 13.2108)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871966 #19873A
analogous
#711987 #871966 #87192F
triadic
#871966 #668719 #196687
tetradic
#871966 #877119 #19873A #192F87
square
#871966 #877119 #19873A #192F87
split-complementary
#871966 #2F8719 #198771
monochromatic
#200618 #530F3F #871966 #BB238D #DB3FAC

Accessibility & contrast

On white

8.89
#871966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#871966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871966
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871966#FFFFFF#000000##FFFFFF
##8719661.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E68
Deuteranopia (green-blind)
#495064
Tritanopia (blue-blind)
#90193E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871966;
/* rgb */ color: rgb(135, 25, 102);
/* oklch */ color: oklch(43.0% 0.163 343.5);
Tailwind
colors: {
  custom: {
    50: '#ae6491',
    500: '#871966',
    950: '#000000',
  },
}
SCSS
$custom: #871966;
$custom-light: #ae6491;
$custom-dark: #000000;
JSON
{
  "hex": "#871966",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 318,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.16306,
    "h": 343.5
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#871966
secondary
#41BA66
accent
#EC713C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #871966

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

Preview Lab → · Contrast checker → · Palette generator →

#871966 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva