#871651#871651

#871651 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.155 H 354.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#871651
RGBrgb(135, 22, 81)
HSLhsl(329, 72%, 31%)
HSVhsv(329, 84%, 53%)
CMYKcmyk(0%, 83.7%, 40%, 47.1%)
CIE-LABlab(30.21, 50.02, -5.42)
CIE-LCHlch(30.21, 50.31, 353.82°)
OKLaboklab(41.88% 0.1539 -0.0137)
OKLCHoklch(41.88% 0.155 354.9)
XYZxyz(11.7646, 6.3203, 8.3834)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871651 #16874C
analogous
#841687 #871651 #871618
triadic
#871651 #518716 #165187
tetradic
#871651 #878416 #16874C #161887
square
#871651 #878416 #16874C #161887
split-complementary
#871651 #188716 #168784
monochromatic
#1E0512 #520D31 #871651 #BC1F71 #DF398F

Accessibility & contrast

On white

9.28
#871651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871651
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871651#FFFFFF#000000##FFFFFF
##8716511.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#4E4E4F
Tritanopia (blue-blind)
#920232
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871651;
/* rgb */ color: rgb(135, 22, 81);
/* oklch */ color: oklch(41.9% 0.155 354.9);
Tailwind
colors: {
  custom: {
    50: '#af6281',
    500: '#871651',
    950: '#000000',
  },
}
SCSS
$custom: #871651;
$custom-light: #af6281;
$custom-dark: #000000;
JSON
{
  "hex": "#871651",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 328.673,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.15453,
    "h": 354.9
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#871651
secondary
#3EBB7A
accent
#EF9039
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871651

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

Preview Lab → · Contrast checker → · Palette generator →

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