#871B3F#871B3F

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

Color values

HEX#871B3F
RGBrgb(135, 27, 63)
HSLhsl(340, 67%, 32%)
HSVhsv(340, 80%, 53%)
CMYKcmyk(0%, 80%, 53.3%, 47.1%)
CIE-LABlab(30.15, 46.82, 6.43)
CIE-LCHlch(30.15, 47.26, 7.82°)
OKLaboklab(41.64% 0.1429 0.0167)
OKLCHoklch(41.64% 0.144 6.7)
XYZxyz(11.2818, 6.2952, 5.3227)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B3F #1B8763
analogous
#871B75 #871B3F #872D1B
triadic
#871B3F #3F871B #1B3F87
tetradic
#871B3F #75871B #1B8763 #2D1B87
square
#871B3F #75871B #1B8763 #2D1B87
split-complementary
#871B3F #1B872D #1B7587
monochromatic
#21070F #541127 #871B3F #BA2557 #D94375

Accessibility & contrast

On white

9.30
#871B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B3F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B3F#FFFFFF#000000##FFFFFF
##871B3F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b3f;
/* rgb */ color: rgb(135, 27, 63);
/* oklch */ color: oklch(41.6% 0.144 6.7);
Tailwind
colors: {
  custom: {
    50: '#b06373',
    500: '#871b3f',
    950: '#000000',
  },
}
SCSS
$custom: #871b3f;
$custom-light: #b06373;
$custom-dark: #000000;
JSON
{
  "hex": "#871b3f",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 340,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41644,
    "c": 0.14387,
    "h": 6.7
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#871B3F
secondary
#44BA93
accent
#EAB03E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #871B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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