#871646#871646

#871646 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.150 H 1.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#871646
RGBrgb(135, 22, 70)
HSLhsl(335, 72%, 31%)
HSVhsv(335, 84%, 53%)
CMYKcmyk(0%, 83.7%, 48.1%, 47.1%)
CIE-LABlab(29.83, 48.91, 1.32)
CIE-LCHlch(29.83, 48.93, 1.55°)
OKLaboklab(41.48% 0.1503 0.0039)
OKLCHoklch(41.48% 0.15 1.5)
XYZxyz(11.3850, 6.1685, 6.3843)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871646 #168757
analogous
#87167E #871646 #871E16
triadic
#871646 #468716 #164687
tetradic
#871646 #7E8716 #168757 #1E1687
square
#871646 #7E8716 #168757 #1E1687
split-complementary
#871646 #16871E #167E87
monochromatic
#1E050F #520D2B #871646 #BC1F61 #DF397F

Accessibility & contrast

On white

9.40
#871646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871646
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871646#FFFFFF#000000##FFFFFF
##8716461.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333847
Deuteranopia (green-blind)
#514E43
Tritanopia (blue-blind)
#93002C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871646;
/* rgb */ color: rgb(135, 22, 70);
/* oklch */ color: oklch(41.5% 0.150 1.5);
Tailwind
colors: {
  custom: {
    50: '#af6179',
    500: '#871646',
    950: '#000000',
  },
}
SCSS
$custom: #871646;
$custom-light: #af6179;
$custom-dark: #000000;
JSON
{
  "hex": "#871646",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 334.513,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.15034,
    "h": 1.5
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#871646
secondary
#3EBB86
accent
#EFA239
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871646

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

Preview Lab → · Contrast checker → · Palette generator →

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