#871F16#871F16

#871F16 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.141 H 29.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#871F16
RGBrgb(135, 31, 22)
HSLhsl(5, 72%, 31%)
HSVhsv(5, 84%, 53%)
CMYKcmyk(0%, 77%, 83.7%, 47.1%)
CIE-LABlab(29.89, 43.09, 32.33)
CIE-LCHlch(29.89, 53.87, 36.88°)
OKLaboklab(41.22% 0.1226 0.0692)
OKLCHoklch(41.22% 0.141 29.4)
XYZxyz(10.6278, 6.1905, 1.3942)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F16 #167E87
analogous
#871645 #871F16 #875716
triadic
#871F16 #16871F #1F1687
tetradic
#871F16 #458716 #167E87 #571687
square
#871F16 #458716 #167E87 #571687
split-complementary
#871F16 #168757 #164587
monochromatic
#1E0705 #52130D #871F16 #BC2B1F #DF4639

Accessibility & contrast

On white

9.38
#871F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F16
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F16#FFFFFF#000000##FFFFFF
##871F161.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3814
Deuteranopia (green-blind)
#594F11
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871f16;
/* rgb */ color: rgb(135, 31, 22);
/* oklch */ color: oklch(41.2% 0.141 29.4);
Tailwind
colors: {
  custom: {
    50: '#b26454',
    500: '#871f16',
    950: '#000000',
  },
}
SCSS
$custom: #871f16;
$custom-light: #b26454;
$custom-dark: #000000;
JSON
{
  "hex": "#871f16",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 22
  },
  "hsl": {
    "h": 4.779,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.1408,
    "h": 29.4
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#871F16
secondary
#3EB1BB
accent
#E0EF39
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#120603
muted
#817A78

Preview Lab

Preview with #871F16

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

Preview Lab → · Contrast checker → · Palette generator →

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