#871B1D#871B1D

#871B1D is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.143 H 25.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#871B1D
RGBrgb(135, 27, 29)
HSLhsl(359, 67%, 32%)
HSVhsv(359, 80%, 53%)
CMYKcmyk(0%, 80%, 78.5%, 47.1%)
CIE-LABlab(29.48, 44.70, 27.78)
CIE-LCHlch(29.48, 52.63, 31.85°)
OKLaboklab(40.93% 0.1292 0.0616)
OKLCHoklch(40.93% 0.143 25.5)
XYZxyz(10.6066, 6.0252, 1.7666)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B1D #1B8785
analogous
#871B53 #871B1D #874F1B
triadic
#871B1D #1D871B #1B1D87
tetradic
#871B1D #53871B #1B8785 #4F1B87
square
#871B1D #53871B #1B8785 #4F1B87
split-complementary
#871B1D #1B874F #1B5387
monochromatic
#210707 #541112 #871B1D #BA2528 #D94346

Accessibility & contrast

On white

9.53
#871B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#871B1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B1D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B1D#FFFFFF#000000##FFFFFF
##871B1D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C371C
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871b1d;
/* rgb */ color: rgb(135, 27, 29);
/* oklch */ color: oklch(40.9% 0.143 25.5);
Tailwind
colors: {
  custom: {
    50: '#b26259',
    500: '#871b1d',
    950: '#000000',
  },
}
SCSS
$custom: #871b1d;
$custom-light: #b26259;
$custom-dark: #000000;
JSON
{
  "hex": "#871b1d",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 29
  },
  "hsl": {
    "h": 358.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.14316,
    "h": 25.5
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#871B1D
secondary
#44BAB8
accent
#EAE63E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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