#86171B#86171B

#86171B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.145 H 25.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#86171B
RGBrgb(134, 23, 27)
HSLhsl(358, 71%, 31%)
HSVhsv(358, 83%, 53%)
CMYKcmyk(0%, 82.8%, 79.9%, 47.5%)
CIE-LABlab(28.80, 45.55, 28.21)
CIE-LCHlch(28.80, 53.58, 31.78°)
OKLaboklab(40.39% 0.1316 0.062)
OKLCHoklch(40.39% 0.145 25.2)
XYZxyz(10.3370, 5.7619, 1.6046)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86171B #178682
analogous
#861752 #86171B #864A17
triadic
#86171B #1B8617 #171B86
tetradic
#86171B #528617 #178682 #4A1786
square
#86171B #528617 #178682 #4A1786
split-complementary
#86171B #17864A #175286
monochromatic
#1E0506 #520E10 #86171B #BA2026 #DD3A40

Accessibility & contrast

On white

9.76
#86171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#86171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #86171B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86171B#FFFFFF#000000##FFFFFF
##86171B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351A
Deuteranopia (green-blind)
#564C16
Tritanopia (blue-blind)
#94001A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #86171b;
/* rgb */ color: rgb(134, 23, 27);
/* oklch */ color: oklch(40.4% 0.145 25.2);
Tailwind
colors: {
  custom: {
    50: '#b26057',
    500: '#86171b',
    950: '#000000',
  },
}
SCSS
$custom: #86171b;
$custom-light: #b26057;
$custom-dark: #000000;
JSON
{
  "hex": "#86171b",
  "rgb": {
    "r": 134,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.838,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.14545,
    "h": 25.2
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#86171B
secondary
#3FBAB6
accent
#EDE73A
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #86171B

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

Preview Lab → · Contrast checker → · Palette generator →

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