#8C171B color
The hex color #8C171B is a dark, moderate red.
In the RGB color model it is made of 54.9% red, 9% green and 10.6% blue (140, 23, 27).
Its hue angle is 358°, with 72% saturation and 32% lightness. For print, the CMYK equivalent is 0% cyan, 84% magenta, 81% yellow and 45% black.
The closest named color is Noble Red (#92181D), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.32:1).
#8C171B color codes
| HEX | #8C171B | |
|---|---|---|
| RGB | rgb(140, 23, 27) | |
| RGB percent | rgb(54.9%, 9%, 10.6%) | |
| HSL | hsl(358, 72%, 32%) | |
| HSV / HSB | hsv(358, 84%, 55%) | |
| CMYK | cmyk(0%, 84%, 81%, 45%) | |
| CIE LAB | lab(30.08, 47.38, 29.95) | |
| CIE LCH | lch(30.08, 56.05, 32.3) | |
| CIE XYZ | xyz(11.321, 6.269, 1.651) | |
| Decimal | 9180955 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C171B, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #8C171B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.32:1 | Pass | Pass | Pass |
| #8C171B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.32:1 | Pass | Pass | Pass |
| Sample text | 2.25:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #8C171B looks to people with the most common types of color vision deficiency.
#3d371aProtanopia
no red cones#5a5016Deuteranopia
no green cones#9b001aTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #8c171b; }
.text { color: #8c171b; }
.border { border: 2px solid #8c171b; }
.transparent { background-color: rgb(140 23 27 / 50%); }
.gradient { background: linear-gradient(to right, #8c171b, #8c4e17); }
Similar colors
#92181dNoble Red#921a1cSocialist#950c1bSacred Scarlet#960018Carmine#880011Bloodthirsty#881111Netherworld#860111Red Devil#8b031cBarbera
Questions
- What color is #8C171B?
- #8C171B is a dark, moderate red, closest to the named color Noble Red. It belongs to the red family of colors.
- What is the RGB value of #8C171B?
- The RGB value is 140, 23, 27: 140 red, 23 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #8C171B?
- The complementary color is #178C88, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C171B?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.32:1. WCAG asks for at least 4.5:1 for normal text.