#871B16#871B16

#871B16 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.144 H 28.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#871B16
RGBrgb(135, 27, 22)
HSLhsl(3, 72%, 31%)
HSVhsv(3, 84%, 53%)
CMYKcmyk(0%, 80%, 83.7%, 47.1%)
CIE-LABlab(29.40, 44.46, 31.85)
CIE-LCHlch(29.40, 54.69, 35.62°)
OKLaboklab(40.85% 0.1269 0.0682)
OKLCHoklch(40.85% 0.144 28.2)
XYZxyz(10.5297, 5.9944, 1.3615)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B16 #168287
analogous
#871649 #871B16 #875316
triadic
#871B16 #16871B #1B1687
tetradic
#871B16 #498716 #168287 #531687
square
#871B16 #498716 #168287 #531687
split-complementary
#871B16 #168753 #164987
monochromatic
#1E0605 #52100D #871B16 #BC261F #DF4039

Accessibility & contrast

On white

9.55
#871B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B16
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B16#FFFFFF#000000##FFFFFF
##871B161.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3614
Deuteranopia (green-blind)
#584E10
Tritanopia (blue-blind)
#95001B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871b16;
/* rgb */ color: rgb(135, 27, 22);
/* oklch */ color: oklch(40.8% 0.144 28.2);
Tailwind
colors: {
  custom: {
    50: '#b36254',
    500: '#871b16',
    950: '#000000',
  },
}
SCSS
$custom: #871b16;
$custom-light: #b36254;
$custom-dark: #000000;
JSON
{
  "hex": "#871b16",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 22
  },
  "hsl": {
    "h": 2.655,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.14406,
    "h": 28.2
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#871B16
secondary
#3EB6BB
accent
#E7EF39
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130603
muted
#827A78

Preview Lab

Preview with #871B16

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

Preview Lab → · Contrast checker → · Palette generator →

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