#871F1A#871F1A

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

Color values

HEX#871F1A
RGBrgb(135, 31, 26)
HSLhsl(3, 68%, 32%)
HSVhsv(3, 81%, 53%)
CMYKcmyk(0%, 77%, 80.7%, 47.1%)
CIE-LABlab(29.93, 43.23, 30.06)
CIE-LCHlch(29.93, 52.65, 34.82°)
OKLaboklab(41.26% 0.1239 0.0657)
OKLCHoklch(41.26% 0.14 27.9)
XYZxyz(10.6694, 6.2071, 1.6134)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F1A #1A8287
analogous
#871A4C #871F1A #87561A
triadic
#871F1A #1A871F #1F1A87
tetradic
#871F1A #4C871A #1A8287 #561A87
square
#871F1A #4C871A #1A8287 #561A87
split-complementary
#871F1A #1A8756 #1A4C87
monochromatic
#200706 #541310 #871F1A #BA2B24 #DA4841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871F1A#FFFFFF#000000##FFFFFF
##871F1A1.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)
#3F3818
Deuteranopia (green-blind)
#584F15
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871f1a;
/* rgb */ color: rgb(135, 31, 26);
/* oklch */ color: oklch(41.3% 0.140 27.9);
Tailwind
colors: {
  custom: {
    50: '#b26457',
    500: '#871f1a',
    950: '#000000',
  },
}
SCSS
$custom: #871f1a;
$custom-light: #b26457;
$custom-dark: #000000;
JSON
{
  "hex": "#871f1a",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 2.752,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41258,
    "c": 0.14022,
    "h": 27.9
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#871F1A
secondary
#42B5BA
accent
#E3EB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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