#871C2F#871C2F

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

Color values

HEX#871C2F
RGBrgb(135, 28, 47)
HSLhsl(349, 66%, 32%)
HSVhsv(349, 79%, 53%)
CMYKcmyk(0%, 79.3%, 65.2%, 47.1%)
CIE-LABlab(29.88, 45.31, 16.70)
CIE-LCHlch(29.88, 48.29, 20.23°)
OKLaboklab(41.33% 0.1353 0.0403)
OKLCHoklch(41.33% 0.141 16.6)
XYZxyz(10.9212, 6.1883, 3.3082)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C2F #1C8774
analogous
#871C65 #871C2F #873F1C
triadic
#871C2F #2F871C #1C2F87
tetradic
#871C2F #65871C #1C8774 #3F1C87
square
#871C2F #65871C #1C8774 #3F1C87
split-complementary
#871C2F #1C873F #1C6587
monochromatic
#22070C #54111D #871C2F #BA2741 #D8455F

Accessibility & contrast

On white

9.39
#871C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C2F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C2F#FFFFFF#000000##FFFFFF
##871C2F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#564E2C
Tritanopia (blue-blind)
#940024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c2f;
/* rgb */ color: rgb(135, 28, 47);
/* oklch */ color: oklch(41.3% 0.141 16.6);
Tailwind
colors: {
  custom: {
    50: '#b16367',
    500: '#871c2f',
    950: '#000000',
  },
}
SCSS
$custom: #871c2f;
$custom-light: #b16367;
$custom-dark: #000000;
JSON
{
  "hex": "#871c2f",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 349.346,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.14114,
    "h": 16.6
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#871C2F
secondary
#45BAA5
accent
#E9CB3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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