#87161B#87161B

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

Color values

HEX#87161B
RGBrgb(135, 22, 27)
HSLhsl(357, 72%, 31%)
HSVhsv(357, 84%, 53%)
CMYKcmyk(0%, 83.7%, 80%, 47.1%)
CIE-LABlab(28.92, 46.14, 28.40)
CIE-LCHlch(28.92, 54.18, 31.61°)
OKLaboklab(40.51% 0.1333 0.0624)
OKLCHoklch(40.51% 0.147 25.1)
XYZxyz(10.4777, 5.8055, 1.6056)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87161B #168782
analogous
#871653 #87161B #874916
triadic
#87161B #1B8716 #161B87
tetradic
#87161B #538716 #168782 #491687
square
#87161B #538716 #168782 #491687
split-complementary
#87161B #168749 #165387
monochromatic
#1E0506 #520D10 #87161B #BC1F26 #DF3940

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87161B#FFFFFF#000000##FFFFFF
##87161B1.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)
#3B351A
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#95001A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #87161b;
/* rgb */ color: rgb(135, 22, 27);
/* oklch */ color: oklch(40.5% 0.147 25.1);
Tailwind
colors: {
  custom: {
    50: '#b26057',
    500: '#87161b',
    950: '#000000',
  },
}
SCSS
$custom: #87161b;
$custom-light: #b26057;
$custom-dark: #000000;
JSON
{
  "hex": "#87161b",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 357.345,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.14716,
    "h": 25.1
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#87161B
secondary
#3EBBB6
accent
#EFE739
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #87161B

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

Preview Lab → · Contrast checker → · Palette generator →

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