#871647#871647

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

Color values

HEX#871647
RGBrgb(135, 22, 71)
HSLhsl(334, 72%, 31%)
HSVhsv(334, 84%, 53%)
CMYKcmyk(0%, 83.7%, 47.4%, 47.1%)
CIE-LABlab(29.87, 49.01, 0.70)
CIE-LCHlch(29.87, 49.01, 0.82°)
OKLaboklab(41.52% 0.1506 0.0024)
OKLCHoklch(41.52% 0.151 0.9)
XYZxyz(11.4169, 6.1812, 6.5519)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871647 #168756
analogous
#87167F #871647 #871D16
triadic
#871647 #478716 #164787
tetradic
#871647 #7F8716 #168756 #1D1687
square
#871647 #7F8716 #168756 #1D1687
split-complementary
#871647 #16871D #167F87
monochromatic
#1E0510 #520D2B #871647 #BC1F63 #DF3981

Accessibility & contrast

On white

9.39
#871647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871647
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871647#FFFFFF#000000##FFFFFF
##8716471.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323948
Deuteranopia (green-blind)
#514E44
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871647;
/* rgb */ color: rgb(135, 22, 71);
/* oklch */ color: oklch(41.5% 0.151 0.9);
Tailwind
colors: {
  custom: {
    50: '#af627a',
    500: '#871647',
    950: '#000000',
  },
}
SCSS
$custom: #871647;
$custom-light: #af627a;
$custom-dark: #000000;
JSON
{
  "hex": "#871647",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 333.982,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.15066,
    "h": 0.9
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#871647
secondary
#3EBB85
accent
#EFA039
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871647

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

Preview Lab → · Contrast checker → · Palette generator →

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