#86171C#86171C

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

Color values

HEX#86171C
RGBrgb(134, 23, 28)
HSLhsl(357, 71%, 31%)
HSVhsv(357, 83%, 53%)
CMYKcmyk(0%, 82.8%, 79.1%, 47.5%)
CIE-LABlab(28.82, 45.58, 27.61)
CIE-LCHlch(28.82, 53.29, 31.20°)
OKLaboklab(40.4% 0.1319 0.061)
OKLCHoklch(40.4% 0.145 24.8)
XYZxyz(10.3488, 5.7666, 1.6666)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86171C #178681
analogous
#861753 #86171C #864917
triadic
#86171C #1C8617 #171C86
tetradic
#86171C #538617 #178681 #491786
square
#86171C #538617 #178681 #491786
split-complementary
#86171C #178649 #175386
monochromatic
#1E0506 #520E11 #86171C #BA2027 #DD3A42

Accessibility & contrast

On white

9.75
#86171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #86171C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86171C#FFFFFF#000000##FFFFFF
##86171C1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #86171c;
/* rgb */ color: rgb(134, 23, 28);
/* oklch */ color: oklch(40.4% 0.145 24.8);
Tailwind
colors: {
  custom: {
    50: '#b26058',
    500: '#86171c',
    950: '#000000',
  },
}
SCSS
$custom: #86171c;
$custom-light: #b26058;
$custom-dark: #000000;
JSON
{
  "hex": "#86171c",
  "rgb": {
    "r": 134,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 357.297,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.14534,
    "h": 24.8
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#86171C
secondary
#3FBAB4
accent
#EDE53A
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #86171C

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

Preview Lab → · Contrast checker → · Palette generator →

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