#871F1F#871F1F

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

Color values

HEX#871F1F
RGBrgb(135, 31, 31)
HSLhsl(0, 63%, 33%)
HSVhsv(0, 77%, 53%)
CMYKcmyk(0%, 77%, 77%, 47.1%)
CIE-LABlab(29.99, 43.42, 27.11)
CIE-LCHlch(29.99, 51.19, 31.98°)
OKLaboklab(41.32% 0.1256 0.0607)
OKLCHoklch(41.32% 0.14 25.8)
XYZxyz(10.7302, 6.2315, 1.9339)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F1F #1F8787
analogous
#871F53 #871F1F #87531F
triadic
#871F1F #1F871F #1F1F87
tetradic
#871F1F #53871F #1F8787 #531F87
square
#871F1F #53871F #1F8787 #531F87
split-complementary
#871F1F #1F8753 #1F5387
monochromatic
#230808 #551414 #871F1F #B92A2A #D64B4B

Accessibility & contrast

On white

9.35
#871F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F1F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F1F#FFFFFF#000000##FFFFFF
##871F1F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f1f;
/* rgb */ color: rgb(135, 31, 31);
/* oklch */ color: oklch(41.3% 0.140 25.8);
Tailwind
colors: {
  custom: {
    50: '#b2645b',
    500: '#871f1f',
    950: '#000000',
  },
}
SCSS
$custom: #871f1f;
$custom-light: #b2645b;
$custom-dark: #000000;
JSON
{
  "hex": "#871f1f",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 0,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41322,
    "c": 0.13953,
    "h": 25.8
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#871F1F
secondary
#4AB8B8
accent
#E6E642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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