#871D27#871D27

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

Color values

HEX#871D27
RGBrgb(135, 29, 39)
HSLhsl(354, 65%, 32%)
HSVhsv(354, 79%, 53%)
CMYKcmyk(0%, 78.5%, 71.1%, 47.1%)
CIE-LABlab(29.86, 44.51, 21.90)
CIE-LCHlch(29.86, 49.60, 26.19°)
OKLaboklab(41.26% 0.1309 0.0509)
OKLCHoklch(41.26% 0.14 21.3)
XYZxyz(10.7985, 6.1778, 2.5429)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D27 #1D877D
analogous
#871D5C #871D27 #87481D
triadic
#871D27 #27871D #1D2787
tetradic
#871D27 #5C871D #1D877D #481D87
square
#871D27 #5C871D #1D877D #481D87
split-complementary
#871D27 #1D8748 #1D5C87
monochromatic
#22070A #551218 #871D27 #B92836 #D74755

Accessibility & contrast

On white

9.40
#871D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D27
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D27#FFFFFF#000000##FFFFFF
##871D271.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3826
Deuteranopia (green-blind)
#574E24
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d27;
/* rgb */ color: rgb(135, 29, 39);
/* oklch */ color: oklch(41.3% 0.140 21.3);
Tailwind
colors: {
  custom: {
    50: '#b16361',
    500: '#871d27',
    950: '#000000',
  },
}
SCSS
$custom: #871d27;
$custom-light: #b16361;
$custom-dark: #000000;
JSON
{
  "hex": "#871d27",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 354.34,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41261,
    "c": 0.14049,
    "h": 21.3
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#871D27
secondary
#46B9AF
accent
#E8D840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871D27

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

Preview Lab → · Contrast checker → · Palette generator →

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