#87161F#87161F

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

Color values

HEX#87161F
RGBrgb(135, 22, 31)
HSLhsl(355, 72%, 31%)
HSVhsv(355, 84%, 53%)
CMYKcmyk(0%, 83.7%, 77%, 47.1%)
CIE-LABlab(28.97, 46.30, 25.96)
CIE-LCHlch(28.97, 53.08, 29.29°)
OKLaboklab(40.56% 0.1347 0.0582)
OKLCHoklch(40.56% 0.147 23.4)
XYZxyz(10.5272, 5.8253, 1.8662)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87161F #16877E
analogous
#871657 #87161F #874516
triadic
#87161F #1F8716 #161F87
tetradic
#87161F #578716 #16877E #451687
square
#87161F #578716 #16877E #451687
split-complementary
#87161F #168745 #165787
monochromatic
#1E0507 #520D13 #87161F #BC1F2B #DF3946

Accessibility & contrast

On white

9.70
#87161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87161F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87161F#FFFFFF#000000##FFFFFF
##87161F1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351E
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#95001B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #87161f;
/* rgb */ color: rgb(135, 22, 31);
/* oklch */ color: oklch(40.6% 0.147 23.4);
Tailwind
colors: {
  custom: {
    50: '#b2605a',
    500: '#87161f',
    950: '#000000',
  },
}
SCSS
$custom: #87161f;
$custom-light: #b2605a;
$custom-dark: #000000;
JSON
{
  "hex": "#87161f",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 355.221,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.14677,
    "h": 23.4
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#87161F
secondary
#3EBBB1
accent
#EFE039
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #87161F

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

Preview Lab → · Contrast checker → · Palette generator →

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