#871F2A#871F2A

#871F2A is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.138 H 20.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#871F2A
RGBrgb(135, 31, 42)
HSLhsl(354, 63%, 33%)
HSVhsv(354, 77%, 53%)
CMYKcmyk(0%, 77%, 68.9%, 47.1%)
CIE-LABlab(30.16, 43.98, 20.32)
CIE-LCHlch(30.16, 48.45, 24.80°)
OKLaboklab(41.5% 0.1299 0.0479)
OKLCHoklch(41.5% 0.138 20.2)
XYZxyz(10.9008, 6.2997, 2.8320)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F2A #1F877C
analogous
#871F5E #871F2A #87481F
triadic
#871F2A #2A871F #1F2A87
tetradic
#871F2A #5E871F #1F877C #481F87
square
#871F2A #5E871F #1F877C #481F87
split-complementary
#871F2A #1F8748 #1F5E87
monochromatic
#23080B #55141B #871F2A #B92A39 #D64B59

Accessibility & contrast

On white

9.29
#871F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F2A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F2A#FFFFFF#000000##FFFFFF
##871F2A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392A
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f2a;
/* rgb */ color: rgb(135, 31, 42);
/* oklch */ color: oklch(41.5% 0.138 20.2);
Tailwind
colors: {
  custom: {
    50: '#b16463',
    500: '#871f2a',
    950: '#000000',
  },
}
SCSS
$custom: #871f2a;
$custom-light: #b16463;
$custom-dark: #000000;
JSON
{
  "hex": "#871f2a",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 353.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.415,
    "c": 0.13846,
    "h": 20.2
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#871F2A
secondary
#4AB8AD
accent
#E6D442
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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