#871642#871642

#871642 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.149 H 3.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#871642
RGBrgb(135, 22, 66)
HSLhsl(337, 72%, 31%)
HSVhsv(337, 84%, 53%)
CMYKcmyk(0%, 83.7%, 51.1%, 47.1%)
CIE-LABlab(29.71, 48.55, 3.82)
CIE-LCHlch(29.71, 48.70, 4.50°)
OKLaboklab(41.35% 0.1488 0.0102)
OKLCHoklch(41.35% 0.149 3.9)
XYZxyz(11.2630, 6.1197, 5.7413)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871642 #16875B
analogous
#87167A #871642 #872216
triadic
#871642 #428716 #164287
tetradic
#871642 #7A8716 #16875B #221687
square
#871642 #7A8716 #16875B #221687
split-complementary
#871642 #168722 #167A87
monochromatic
#1E050F #520D28 #871642 #BC1F5C #DF3979

Accessibility & contrast

On white

9.44
#871642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871642
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871642#FFFFFF#000000##FFFFFF
##8716421.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#524E3F
Tritanopia (blue-blind)
#93002A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871642;
/* rgb */ color: rgb(135, 22, 66);
/* oklch */ color: oklch(41.4% 0.149 3.9);
Tailwind
colors: {
  custom: {
    50: '#b06176',
    500: '#871642',
    950: '#000000',
  },
}
SCSS
$custom: #871642;
$custom-light: #b06176;
$custom-dark: #000000;
JSON
{
  "hex": "#871642",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 336.637,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41353,
    "c": 0.14916,
    "h": 3.9
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#871642
secondary
#3EBB8A
accent
#EFA839
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871642

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

Preview Lab → · Contrast checker → · Palette generator →

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