#871A3F#871A3F

#871A3F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.145 H 6.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#871A3F
RGBrgb(135, 26, 63)
HSLhsl(340, 68%, 32%)
HSVhsv(340, 81%, 53%)
CMYKcmyk(0%, 80.7%, 53.3%, 47.1%)
CIE-LABlab(30.04, 47.13, 6.28)
CIE-LCHlch(30.04, 47.55, 7.59°)
OKLaboklab(41.56% 0.1439 0.0163)
OKLCHoklch(41.56% 0.145 6.5)
XYZxyz(11.2593, 6.2502, 5.3152)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A3F #1A8762
analogous
#871A76 #871A3F #872C1A
triadic
#871A3F #3F871A #1A3F87
tetradic
#871A3F #76871A #1A8762 #2C1A87
square
#871A3F #76871A #1A8762 #2C1A87
split-complementary
#871A3F #1A872C #1A7687
monochromatic
#20060F #541027 #871A3F #BA2457 #DA4175

Accessibility & contrast

On white

9.33
#871A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A3F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A3F#FFFFFF#000000##FFFFFF
##871A3F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a3f;
/* rgb */ color: rgb(135, 26, 63);
/* oklch */ color: oklch(41.6% 0.145 6.5);
Tailwind
colors: {
  custom: {
    50: '#b06373',
    500: '#871a3f',
    950: '#000000',
  },
}
SCSS
$custom: #871a3f;
$custom-light: #b06373;
$custom-dark: #000000;
JSON
{
  "hex": "#871a3f",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 339.633,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.14483,
    "h": 6.5
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#871A3F
secondary
#42BA92
accent
#EBB03D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #871A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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