#87161A#87161A

#87161A is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.5% C 0.147 H 25.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#87161A
RGBrgb(135, 22, 26)
HSLhsl(358, 72%, 31%)
HSVhsv(358, 84%, 53%)
CMYKcmyk(0%, 83.7%, 80.7%, 47.1%)
CIE-LABlab(28.90, 46.10, 29.00)
CIE-LCHlch(28.90, 54.46, 32.17°)
OKLaboklab(40.5% 0.133 0.0633)
OKLCHoklch(40.5% 0.147 25.5)
XYZxyz(10.4663, 5.8010, 1.5457)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87161A #168783
analogous
#871652 #87161A #874A16
triadic
#87161A #1A8716 #161A87
tetradic
#87161A #528716 #168783 #4A1687
square
#87161A #528716 #168783 #4A1687
split-complementary
#87161A #16874A #165287
monochromatic
#1E0506 #520D10 #87161A #BC1F24 #DF393F

Accessibility & contrast

On white

9.72
#87161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#87161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87161A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87161A#FFFFFF#000000##FFFFFF
##87161A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3519
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#950019
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #87161a;
/* rgb */ color: rgb(135, 22, 26);
/* oklch */ color: oklch(40.5% 0.147 25.5);
Tailwind
colors: {
  custom: {
    50: '#b36057',
    500: '#87161a',
    950: '#000000',
  },
}
SCSS
$custom: #87161a;
$custom-light: #b36057;
$custom-dark: #000000;
JSON
{
  "hex": "#87161a",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 357.876,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.14727,
    "h": 25.5
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#87161A
secondary
#3EBBB7
accent
#EFE839
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130503
muted
#827A78

Preview Lab

Preview with #87161A

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

Preview Lab → · Contrast checker → · Palette generator →

#87161A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva