#871F2C#871F2C

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

Color values

HEX#871F2C
RGBrgb(135, 31, 44)
HSLhsl(353, 63%, 33%)
HSVhsv(353, 77%, 53%)
CMYKcmyk(0%, 77%, 67.4%, 47.1%)
CIE-LABlab(30.19, 44.10, 19.07)
CIE-LCHlch(30.19, 48.04, 23.38°)
OKLaboklab(41.54% 0.1307 0.0453)
OKLCHoklch(41.54% 0.138 19.1)
XYZxyz(10.9375, 6.3144, 3.0253)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F2C #1F877A
analogous
#871F60 #871F2C #87461F
triadic
#871F2C #2C871F #1F2C87
tetradic
#871F2C #60871F #1F877A #461F87
square
#871F2C #60871F #1F877A #461F87
split-complementary
#871F2C #1F8746 #1F6087
monochromatic
#23080C #55141C #871F2C #B92A3C #D64B5C

Accessibility & contrast

On white

9.28
#871F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F2C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F2C#FFFFFF#000000##FFFFFF
##871F2C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392C
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#950025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f2c;
/* rgb */ color: rgb(135, 31, 44);
/* oklch */ color: oklch(41.5% 0.138 19.1);
Tailwind
colors: {
  custom: {
    50: '#b16465',
    500: '#871f2c',
    950: '#000000',
  },
}
SCSS
$custom: #871f2c;
$custom-light: #b16465;
$custom-dark: #000000;
JSON
{
  "hex": "#871f2c",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 352.5,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.13837,
    "h": 19.1
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#871F2C
secondary
#4AB8AA
accent
#E6D142
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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