#871A2C#871A2C

#871A2C is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.143 H 17.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#871A2C
RGBrgb(135, 26, 44)
HSLhsl(350, 68%, 32%)
HSVhsv(350, 81%, 53%)
CMYKcmyk(0%, 80.7%, 67.4%, 47.1%)
CIE-LABlab(29.60, 45.77, 18.31)
CIE-LCHlch(29.60, 49.29, 21.80°)
OKLaboklab(41.1% 0.1361 0.0436)
OKLCHoklch(41.1% 0.143 17.8)
XYZxyz(10.8169, 6.0732, 2.9851)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A2C #1A8775
analogous
#871A63 #871A2C #873F1A
triadic
#871A2C #2C871A #1A2C87
tetradic
#871A2C #63871A #1A8775 #3F1A87
square
#871A2C #63871A #1A8775 #3F1A87
split-complementary
#871A2C #1A873F #1A6387
monochromatic
#20060B #54101B #871A2C #BA243D #DA415A

Accessibility & contrast

On white

9.48
#871A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A2C
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A2C#FFFFFF#000000##FFFFFF
##871A2C1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372C
Deuteranopia (green-blind)
#564E29
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a2c;
/* rgb */ color: rgb(135, 26, 44);
/* oklch */ color: oklch(41.1% 0.143 17.8);
Tailwind
colors: {
  custom: {
    50: '#b16264',
    500: '#871a2c',
    950: '#000000',
  },
}
SCSS
$custom: #871a2c;
$custom-light: #b16264;
$custom-dark: #000000;
JSON
{
  "hex": "#871a2c",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 350.092,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.14291,
    "h": 17.8
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#871A2C
secondary
#42BAA7
accent
#EBCE3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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