#871F3B#871F3B

#871F3B is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.139 H 10.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#871F3B
RGBrgb(135, 31, 59)
HSLhsl(344, 63%, 33%)
HSVhsv(344, 77%, 53%)
CMYKcmyk(0%, 77%, 56.3%, 47.1%)
CIE-LABlab(30.52, 45.15, 9.61)
CIE-LCHlch(30.52, 46.16, 12.01°)
OKLaboklab(41.88% 0.137 0.0243)
OKLCHoklch(41.88% 0.139 10.1)
XYZxyz(11.2721, 6.4482, 4.7879)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F3B #1F876B
analogous
#871F6F #871F3B #87371F
triadic
#871F3B #3B871F #1F3B87
tetradic
#871F3B #6F871F #1F876B #371F87
square
#871F3B #6F871F #1F876B #371F87
split-complementary
#871F3B #1F8737 #1F6F87
monochromatic
#23080F #551425 #871F3B #B92A51 #D64B70

Accessibility & contrast

On white

9.17
#871F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F3B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F3B#FFFFFF#000000##FFFFFF
##871F3B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3B
Deuteranopia (green-blind)
#554F38
Tritanopia (blue-blind)
#94012B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871f3b;
/* rgb */ color: rgb(135, 31, 59);
/* oklch */ color: oklch(41.9% 0.139 10.1);
Tailwind
colors: {
  custom: {
    50: '#b06570',
    500: '#871f3b',
    950: '#000000',
  },
}
SCSS
$custom: #871f3b;
$custom-light: #b06570;
$custom-dark: #000000;
JSON
{
  "hex": "#871f3b",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 343.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.13912,
    "h": 10.1
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#871F3B
secondary
#4AB89A
accent
#E6BA42
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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