#871B23#871B23

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

Color values

HEX#871B23
RGBrgb(135, 27, 35)
HSLhsl(356, 67%, 32%)
HSVhsv(356, 80%, 53%)
CMYKcmyk(0%, 80%, 74.1%, 47.1%)
CIE-LABlab(29.56, 44.97, 24.11)
CIE-LCHlch(29.56, 51.02, 28.19°)
OKLaboklab(41.02% 0.1315 0.0551)
OKLCHoklch(41.02% 0.143 22.7)
XYZxyz(10.6882, 6.0578, 2.1963)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B23 #1B877F
analogous
#871B59 #871B23 #87491B
triadic
#871B23 #23871B #1B2387
tetradic
#871B23 #59871B #1B877F #491B87
square
#871B23 #59871B #1B877F #491B87
split-complementary
#871B23 #1B8749 #1B5987
monochromatic
#210709 #541116 #871B23 #BA2530 #D9434E

Accessibility & contrast

On white

9.50
#871B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B23
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B23#FFFFFF#000000##FFFFFF
##871B231.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3722
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b23;
/* rgb */ color: rgb(135, 27, 35);
/* oklch */ color: oklch(41.0% 0.143 22.7);
Tailwind
colors: {
  custom: {
    50: '#b2625e',
    500: '#871b23',
    950: '#000000',
  },
}
SCSS
$custom: #871b23;
$custom-light: #b2625e;
$custom-dark: #000000;
JSON
{
  "hex": "#871b23",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 35
  },
  "hsl": {
    "h": 355.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.14252,
    "h": 22.7
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#871B23
secondary
#44BAB1
accent
#EADD3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871B23

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

Preview Lab → · Contrast checker → · Palette generator →

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