#871D37#871D37

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

Color values

HEX#871D37
RGBrgb(135, 29, 55)
HSLhsl(345, 65%, 32%)
HSVhsv(345, 79%, 53%)
CMYKcmyk(0%, 78.5%, 59.3%, 47.1%)
CIE-LABlab(30.17, 45.53, 11.79)
CIE-LCHlch(30.17, 47.03, 14.52°)
OKLaboklab(41.6% 0.1376 0.0294)
OKLCHoklch(41.6% 0.141 12.1)
XYZxyz(11.1217, 6.3071, 4.2454)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D37 #1D876D
analogous
#871D6C #871D37 #87381D
triadic
#871D37 #37871D #1D3787
tetradic
#871D37 #6C871D #1D876D #381D87
square
#871D37 #6C871D #1D876D #381D87
split-complementary
#871D37 #1D8738 #1D6C87
monochromatic
#22070E #551222 #871D37 #B9284C #D7476A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D37#FFFFFF#000000##FFFFFF
##871D371.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)
#3A3937
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d37;
/* rgb */ color: rgb(135, 29, 55);
/* oklch */ color: oklch(41.6% 0.141 12.1);
Tailwind
colors: {
  custom: {
    50: '#b0646d',
    500: '#871d37',
    950: '#000000',
  },
}
SCSS
$custom: #871d37;
$custom-light: #b0646d;
$custom-dark: #000000;
JSON
{
  "hex": "#871d37",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 55
  },
  "hsl": {
    "h": 345.283,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.14065,
    "h": 12.1
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#871D37
secondary
#46B99D
accent
#E8BF40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871D37

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

Preview Lab → · Contrast checker → · Palette generator →

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