#86171F#86171F

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

Color values

HEX#86171F
RGBrgb(134, 23, 31)
HSLhsl(356, 71%, 31%)
HSVhsv(356, 83%, 53%)
CMYKcmyk(0%, 82.8%, 76.9%, 47.5%)
CIE-LABlab(28.85, 45.71, 25.78)
CIE-LCHlch(28.85, 52.47, 29.42°)
OKLaboklab(40.44% 0.133 0.0579)
OKLCHoklch(40.44% 0.145 23.5)
XYZxyz(10.3865, 5.7817, 1.8652)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86171F #17867E
analogous
#861756 #86171F #864617
triadic
#86171F #1F8617 #171F86
tetradic
#86171F #568617 #17867E #461786
square
#86171F #568617 #17867E #461786
split-complementary
#86171F #178646 #175686
monochromatic
#1E0507 #520E13 #86171F #BA202B #DD3A46

Accessibility & contrast

On white

9.74
#86171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #86171F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86171F#FFFFFF#000000##FFFFFF
##86171F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351E
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#94001B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #86171f;
/* rgb */ color: rgb(134, 23, 31);
/* oklch */ color: oklch(40.4% 0.145 23.5);
Tailwind
colors: {
  custom: {
    50: '#b1605a',
    500: '#86171f',
    950: '#000000',
  },
}
SCSS
$custom: #86171f;
$custom-light: #b1605a;
$custom-dark: #000000;
JSON
{
  "hex": "#86171f",
  "rgb": {
    "r": 134,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 355.676,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40442,
    "c": 0.14504,
    "h": 23.5
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#86171F
secondary
#3FBAB1
accent
#EDE13A
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #86171F

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

Preview Lab → · Contrast checker → · Palette generator →

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