#871F1B#871F1B

#871F1B is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 27.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#871F1B
RGBrgb(135, 31, 27)
HSLhsl(2, 67%, 32%)
HSVhsv(2, 80%, 53%)
CMYKcmyk(0%, 77%, 80%, 47.1%)
CIE-LABlab(29.94, 43.26, 29.48)
CIE-LCHlch(29.94, 52.35, 34.27°)
OKLaboklab(41.27% 0.1242 0.0647)
OKLCHoklch(41.27% 0.14 27.5)
XYZxyz(10.6808, 6.2117, 1.6733)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F1B #1B8387
analogous
#871B4D #871F1B #87551B
triadic
#871F1B #1B871F #1F1B87
tetradic
#871F1B #4D871B #1B8387 #551B87
square
#871F1B #4D871B #1B8387 #551B87
split-complementary
#871F1B #1B8755 #1B4D87
monochromatic
#210807 #541311 #871F1B #BA2B25 #D94943

Accessibility & contrast

On white

9.37
#871F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F1B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F1B#FFFFFF#000000##FFFFFF
##871F1B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3819
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871f1b;
/* rgb */ color: rgb(135, 31, 27);
/* oklch */ color: oklch(41.3% 0.140 27.5);
Tailwind
colors: {
  custom: {
    50: '#b26458',
    500: '#871f1b',
    950: '#000000',
  },
}
SCSS
$custom: #871f1b;
$custom-light: #b26458;
$custom-dark: #000000;
JSON
{
  "hex": "#871f1b",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 27
  },
  "hsl": {
    "h": 2.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.14008,
    "h": 27.5
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#871F1B
secondary
#44B6BA
accent
#E3EA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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