#871B1B#871B1B

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

Color values

HEX#871B1B
RGBrgb(135, 27, 27)
HSLhsl(0, 67%, 32%)
HSVhsv(0, 80%, 53%)
CMYKcmyk(0%, 80%, 80%, 47.1%)
CIE-LABlab(29.45, 44.63, 28.97)
CIE-LCHlch(29.45, 53.20, 32.99°)
OKLaboklab(40.91% 0.1285 0.0636)
OKLCHoklch(40.91% 0.143 26.3)
XYZxyz(10.5827, 6.0156, 1.6406)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B1B #1B8787
analogous
#871B51 #871B1B #87511B
triadic
#871B1B #1B871B #1B1B87
tetradic
#871B1B #51871B #1B8787 #511B87
square
#871B1B #51871B #1B8787 #511B87
split-complementary
#871B1B #1B8751 #1B5187
monochromatic
#210707 #541111 #871B1B #BA2525 #D94343

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871B1B#FFFFFF#000000##FFFFFF
##871B1B1.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)
#3D361A
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871b1b;
/* rgb */ color: rgb(135, 27, 27);
/* oklch */ color: oklch(40.9% 0.143 26.3);
Tailwind
colors: {
  custom: {
    50: '#b26258',
    500: '#871b1b',
    950: '#000000',
  },
}
SCSS
$custom: #871b1b;
$custom-light: #b26258;
$custom-dark: #000000;
JSON
{
  "hex": "#871b1b",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 27
  },
  "hsl": {
    "h": 0,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.1434,
    "h": 26.3
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#871B1B
secondary
#44BABA
accent
#EAEA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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