#871B40#871B40

#871B40 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.144 H 6.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#871B40
RGBrgb(135, 27, 64)
HSLhsl(339, 67%, 32%)
HSVhsv(339, 80%, 53%)
CMYKcmyk(0%, 80%, 52.6%, 47.1%)
CIE-LABlab(30.17, 46.91, 5.81)
CIE-LCHlch(30.17, 47.27, 7.06°)
OKLaboklab(41.67% 0.1433 0.0151)
OKLCHoklch(41.67% 0.144 6)
XYZxyz(11.3100, 6.3065, 5.4712)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B40 #1B8762
analogous
#871B76 #871B40 #872C1B
triadic
#871B40 #40871B #1B4087
tetradic
#871B40 #76871B #1B8762 #2C1B87
square
#871B40 #76871B #1B8762 #2C1B87
split-complementary
#871B40 #1B872C #1B7687
monochromatic
#210710 #541128 #871B40 #BA2558 #D94377

Accessibility & contrast

On white

9.29
#871B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B40
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B40#FFFFFF#000000##FFFFFF
##871B401.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#534F3D
Tritanopia (blue-blind)
#94002B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b40;
/* rgb */ color: rgb(135, 27, 64);
/* oklch */ color: oklch(41.7% 0.144 6.0);
Tailwind
colors: {
  custom: {
    50: '#b06374',
    500: '#871b40',
    950: '#000000',
  },
}
SCSS
$custom: #871b40;
$custom-light: #b06374;
$custom-dark: #000000;
JSON
{
  "hex": "#871b40",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 339.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41673,
    "c": 0.14409,
    "h": 6
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#871B40
secondary
#44BA92
accent
#EAAF3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871B40

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

Preview Lab → · Contrast checker → · Palette generator →

#871B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva