#871A3A#871A3A

#871A3A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.144 H 9.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#871A3A
RGBrgb(135, 26, 58)
HSLhsl(342, 68%, 32%)
HSVhsv(342, 81%, 53%)
CMYKcmyk(0%, 80.7%, 57%, 47.1%)
CIE-LABlab(29.90, 46.73, 9.43)
CIE-LCHlch(29.90, 47.67, 11.40°)
OKLaboklab(41.42% 0.1419 0.0238)
OKLCHoklch(41.42% 0.144 9.5)
XYZxyz(11.1259, 6.1968, 4.6124)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A3A #1A8767
analogous
#871A71 #871A3A #87301A
triadic
#871A3A #3A871A #1A3A87
tetradic
#871A3A #71871A #1A8767 #301A87
square
#871A3A #71871A #1A8767 #301A87
split-complementary
#871A3A #1A8730 #1A7187
monochromatic
#20060E #541024 #871A3A #BA2450 #DA416E

Accessibility & contrast

On white

9.38
#871A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A3A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A3A#FFFFFF#000000##FFFFFF
##871A3A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38383B
Deuteranopia (green-blind)
#544E37
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a3a;
/* rgb */ color: rgb(135, 26, 58);
/* oklch */ color: oklch(41.4% 0.144 9.5);
Tailwind
colors: {
  custom: {
    50: '#b0626f',
    500: '#871a3a',
    950: '#000000',
  },
}
SCSS
$custom: #871a3a;
$custom-light: #b0626f;
$custom-dark: #000000;
JSON
{
  "hex": "#871a3a",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 342.385,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41423,
    "c": 0.1439,
    "h": 9.5
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#871A3A
secondary
#42BA97
accent
#EBB83D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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