#871661#871661

#871661 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.163 H 345.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#871661
RGBrgb(135, 22, 97)
HSLhsl(320, 72%, 31%)
HSVhsv(320, 84%, 53%)
CMYKcmyk(0%, 83.7%, 28.1%, 47.1%)
CIE-LABlab(30.85, 51.89, -14.91)
CIE-LCHlch(30.85, 53.99, 343.97°)
OKLaboklab(42.56% 0.1579 -0.0396)
OKLCHoklch(42.56% 0.163 345.9)
XYZxyz(12.4369, 6.5892, 11.9238)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871661 #16873C
analogous
#741687 #871661 #871628
triadic
#871661 #618716 #166187
tetradic
#871661 #877416 #16873C #162887
square
#871661 #877416 #16873C #162887
split-complementary
#871661 #288716 #168774
monochromatic
#1E0515 #520D3B #871661 #BC1F87 #DF39A7

Accessibility & contrast

On white

9.06
#871661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871661
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871661#FFFFFF#000000##FFFFFF
##8716611.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C63
Deuteranopia (green-blind)
#4A4F5F
Tritanopia (blue-blind)
#91123B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871661;
/* rgb */ color: rgb(135, 22, 97);
/* oklch */ color: oklch(42.6% 0.163 345.9);
Tailwind
colors: {
  custom: {
    50: '#ae638e',
    500: '#871661',
    950: '#000000',
  },
}
SCSS
$custom: #871661;
$custom-light: #ae638e;
$custom-dark: #000000;
JSON
{
  "hex": "#871661",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 320.177,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.16281,
    "h": 345.9
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#871661
secondary
#3EBB68
accent
#EF7639
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871661

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

Preview Lab → · Contrast checker → · Palette generator →

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