#87161C#87161C

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

Color values

HEX#87161C
RGBrgb(135, 22, 28)
HSLhsl(357, 72%, 31%)
HSVhsv(357, 84%, 53%)
CMYKcmyk(0%, 83.7%, 79.3%, 47.1%)
CIE-LABlab(28.93, 46.17, 27.80)
CIE-LCHlch(28.93, 53.90, 31.05°)
OKLaboklab(40.52% 0.1337 0.0613)
OKLCHoklch(40.52% 0.147 24.7)
XYZxyz(10.4895, 5.8103, 1.6676)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87161C #168781
analogous
#871654 #87161C #874816
triadic
#87161C #1C8716 #161C87
tetradic
#87161C #548716 #168781 #481687
square
#87161C #548716 #168781 #481687
split-complementary
#87161C #168748 #165487
monochromatic
#1E0506 #520D11 #87161C #BC1F27 #DF3942

Accessibility & contrast

On white

9.71
#87161C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87161C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87161C#FFFFFF#000000##FFFFFF
##87161C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351B
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#95001A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #87161c;
/* rgb */ color: rgb(135, 22, 28);
/* oklch */ color: oklch(40.5% 0.147 24.7);
Tailwind
colors: {
  custom: {
    50: '#b26058',
    500: '#87161c',
    950: '#000000',
  },
}
SCSS
$custom: #87161c;
$custom-light: #b26058;
$custom-dark: #000000;
JSON
{
  "hex": "#87161c",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 356.814,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40522,
    "c": 0.14705,
    "h": 24.7
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#87161C
secondary
#3EBBB4
accent
#EFE539
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #87161C

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

Preview Lab → · Contrast checker → · Palette generator →

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