#871D2C#871D2C

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

Color values

HEX#871D2C
RGBrgb(135, 29, 44)
HSLhsl(352, 65%, 32%)
HSVhsv(352, 79%, 53%)
CMYKcmyk(0%, 78.5%, 67.4%, 47.1%)
CIE-LABlab(29.94, 44.79, 18.75)
CIE-LCHlch(29.94, 48.56, 22.72°)
OKLaboklab(41.35% 0.133 0.0446)
OKLCHoklch(41.35% 0.14 18.5)
XYZxyz(10.8868, 6.2131, 3.0084)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D2C #1D8778
analogous
#871D61 #871D2C #87431D
triadic
#871D2C #2C871D #1D2C87
tetradic
#871D2C #61871D #1D8778 #431D87
square
#871D2C #61871D #1D8778 #431D87
split-complementary
#871D2C #1D8743 #1D6187
monochromatic
#22070B #55121C #871D2C #B9283C #D7475B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D2C#FFFFFF#000000##FFFFFF
##871D2C1.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)
#3C382C
Deuteranopia (green-blind)
#564F29
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d2c;
/* rgb */ color: rgb(135, 29, 44);
/* oklch */ color: oklch(41.4% 0.140 18.5);
Tailwind
colors: {
  custom: {
    50: '#b16364',
    500: '#871d2c',
    950: '#000000',
  },
}
SCSS
$custom: #871d2c;
$custom-light: #b16364;
$custom-dark: #000000;
JSON
{
  "hex": "#871d2c",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 44
  },
  "hsl": {
    "h": 351.509,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.14025,
    "h": 18.5
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#871D2C
secondary
#46B9A9
accent
#E8D040
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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