#871B2D#871B2D

#871B2D is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.142 H 17.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#871B2D
RGBrgb(135, 27, 45)
HSLhsl(350, 67%, 32%)
HSVhsv(350, 80%, 53%)
CMYKcmyk(0%, 80%, 66.7%, 47.1%)
CIE-LABlab(29.73, 45.51, 17.82)
CIE-LCHlch(29.73, 48.87, 21.38°)
OKLaboklab(41.2% 0.1355 0.0426)
OKLCHoklch(41.2% 0.142 17.5)
XYZxyz(10.8584, 6.1259, 3.0928)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B2D #1B8775
analogous
#871B63 #871B2D #873F1B
triadic
#871B2D #2D871B #1B2D87
tetradic
#871B2D #63871B #1B8775 #3F1B87
square
#871B2D #63871B #1B8775 #3F1B87
split-complementary
#871B2D #1B873F #1B6387
monochromatic
#21070B #54111C #871B2D #BA253E #D9435C

Accessibility & contrast

On white

9.44
#871B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B2D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B2D#FFFFFF#000000##FFFFFF
##871B2D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#564E2A
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b2d;
/* rgb */ color: rgb(135, 27, 45);
/* oklch */ color: oklch(41.2% 0.142 17.5);
Tailwind
colors: {
  custom: {
    50: '#b16265',
    500: '#871b2d',
    950: '#000000',
  },
}
SCSS
$custom: #871b2d;
$custom-light: #b16265;
$custom-dark: #000000;
JSON
{
  "hex": "#871b2d",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 350,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.412,
    "c": 0.14204,
    "h": 17.5
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#871B2D
secondary
#44BAA6
accent
#EACD3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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