#871961#871961

#871961 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.160 H 346.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#871961
RGBrgb(135, 25, 97)
HSLhsl(321, 69%, 31%)
HSVhsv(321, 81%, 53%)
CMYKcmyk(0%, 81.5%, 28.1%, 47.1%)
CIE-LABlab(31.14, 51.07, -14.47)
CIE-LCHlch(31.14, 53.08, 344.18°)
OKLaboklab(42.76% 0.1554 -0.0384)
OKLCHoklch(42.76% 0.16 346.1)
XYZxyz(12.4976, 6.7106, 11.9441)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871961 #19873F
analogous
#761987 #871961 #87192A
triadic
#871961 #618719 #196187
tetradic
#871961 #877619 #19873F #192A87
square
#871961 #877619 #19873F #192A87
split-complementary
#871961 #2A8719 #198776
monochromatic
#200617 #530F3C #871961 #BB2386 #DB3FA5

Accessibility & contrast

On white

8.97
#871961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871961
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871961#FFFFFF#000000##FFFFFF
##8719611.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293D63
Deuteranopia (green-blind)
#4B505F
Tritanopia (blue-blind)
#91153B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871961;
/* rgb */ color: rgb(135, 25, 97);
/* oklch */ color: oklch(42.8% 0.160 346.1);
Tailwind
colors: {
  custom: {
    50: '#ae648e',
    500: '#871961',
    950: '#000000',
  },
}
SCSS
$custom: #871961;
$custom-light: #ae648e;
$custom-dark: #000000;
JSON
{
  "hex": "#871961",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 320.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42763,
    "c": 0.16004,
    "h": 346.1
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#871961
secondary
#41BA6B
accent
#EC793C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871961

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

Preview Lab → · Contrast checker → · Palette generator →

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