#871B25#871B25

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

Color values

HEX#871B25
RGBrgb(135, 27, 37)
HSLhsl(354, 67%, 32%)
HSVhsv(354, 80%, 53%)
CMYKcmyk(0%, 80%, 72.6%, 47.1%)
CIE-LABlab(29.59, 45.07, 22.86)
CIE-LCHlch(29.59, 50.53, 26.90°)
OKLaboklab(41.05% 0.1323 0.0527)
OKLCHoklch(41.05% 0.142 21.7)
XYZxyz(10.7188, 6.0700, 2.3571)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B25 #1B877D
analogous
#871B5B #871B25 #87471B
triadic
#871B25 #25871B #1B2587
tetradic
#871B25 #5B871B #1B877D #471B87
square
#871B25 #5B871B #1B877D #471B87
split-complementary
#871B25 #1B8747 #1B5B87
monochromatic
#210709 #541117 #871B25 #BA2533 #D94351

Accessibility & contrast

On white

9.49
#871B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B25
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B25#FFFFFF#000000##FFFFFF
##871B251.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3724
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b25;
/* rgb */ color: rgb(135, 27, 37);
/* oklch */ color: oklch(41.1% 0.142 21.7);
Tailwind
colors: {
  custom: {
    50: '#b1625f',
    500: '#871b25',
    950: '#000000',
  },
}
SCSS
$custom: #871b25;
$custom-light: #b1625f;
$custom-dark: #000000;
JSON
{
  "hex": "#871b25",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 37
  },
  "hsl": {
    "h": 354.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41052,
    "c": 0.14237,
    "h": 21.7
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#871B25
secondary
#44BAAF
accent
#EADA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871B25

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

Preview Lab → · Contrast checker → · Palette generator →

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