#871D31#871D31

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

Color values

HEX#871D31
RGBrgb(135, 29, 49)
HSLhsl(349, 65%, 32%)
HSVhsv(349, 79%, 53%)
CMYKcmyk(0%, 78.5%, 63.7%, 47.1%)
CIE-LABlab(30.04, 45.11, 15.59)
CIE-LCHlch(30.04, 47.72, 19.06°)
OKLaboklab(41.46% 0.1351 0.0379)
OKLCHoklch(41.46% 0.14 15.7)
XYZxyz(10.9866, 6.2530, 3.5336)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D31 #1D8773
analogous
#871D66 #871D31 #873E1D
triadic
#871D31 #31871D #1D3187
tetradic
#871D31 #66871D #1D8773 #3E1D87
square
#871D31 #66871D #1D8773 #3E1D87
split-complementary
#871D31 #1D873E #1D6687
monochromatic
#22070C #55121F #871D31 #B92843 #D74762

Accessibility & contrast

On white

9.33
#871D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D31
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D31#FFFFFF#000000##FFFFFF
##871D311.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3931
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d31;
/* rgb */ color: rgb(135, 29, 49);
/* oklch */ color: oklch(41.5% 0.140 15.7);
Tailwind
colors: {
  custom: {
    50: '#b06368',
    500: '#871d31',
    950: '#000000',
  },
}
SCSS
$custom: #871d31;
$custom-light: #b06368;
$custom-dark: #000000;
JSON
{
  "hex": "#871d31",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 49
  },
  "hsl": {
    "h": 348.679,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.14026,
    "h": 15.7
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#871D31
secondary
#46B9A4
accent
#E8C840
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871D31

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

Preview Lab → · Contrast checker → · Palette generator →

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