#8A7171 color
The hex color #8A7171 is a grayish red.
In the RGB color model it is made of 54.1% red, 44.3% green and 44.3% blue (138, 113, 113).
Its hue angle is 0°, with 10% saturation and 49% lightness. For print, the CMYK equivalent is 0% cyan, 18% magenta, 18% yellow and 46% black.
The closest named color is Opium (#987E7E), a difference of 5.1 ΔE.
Black text is the more readable choice on this background (contrast 4.68:1).
#8A7171 color codes
| HEX | #8A7171 | |
|---|---|---|
| RGB | rgb(138, 113, 113) | |
| RGB percent | rgb(54.1%, 44.3%, 44.3%) | |
| HSL | hsl(0, 10%, 49%) | |
| HSV / HSB | hsv(0, 18%, 54%) | |
| CMYK | cmyk(0%, 18%, 18%, 46%) | |
| CIE LAB | lab(49.99, 9.8, 3.69) | |
| CIE LCH | lch(49.99, 10.48, 20.64) | |
| CIE XYZ | xyz(19.367, 18.406, 18.152) | |
| Decimal | 9073009 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A7171, 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 #8A7171 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.68:1 | Pass | Fail | Pass |
| Sample text | 4.49:1 | Fail | Fail | Pass |
| #8A7171 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.49:1 | Fail | Fail | Pass |
| Sample text | 4.68:1 | Pass | Fail | Pass |
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 #8A7171 looks to people with the most common types of color vision deficiency.
#757471Protanopia
no red cones#7b7971Deuteranopia
no green cones#906f71Tritanopia
no blue cones#777777Achromatopsia
no color vision
CSS examples
.background { background-color: #8a7171; }
.text { color: #8a7171; }
.border { border: 2px solid #8a7171; }
.transparent { background-color: rgb(138 113 113 / 50%); }
.gradient { background: linear-gradient(to right, #8a7171, #8a7e71); }
Similar colors
#987e7eOpium#7c7173Empress#806b77Moonscape#8f7f85Mighty Mauve#987d73Hemp#81777fChain Mail#766b69Acoustic Brown#7d5d5eReading Tea Leaves
Closest common color name: Mocha.
Questions
- What color is #8A7171?
- #8A7171 is a grayish red, closest to the named color Opium. It belongs to the gray family of colors.
- What is the RGB value of #8A7171?
- The RGB value is 138, 113, 113: 138 red, 113 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #8A7171?
- The complementary color is #718A8A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A7171?
- Black text. Black text has a contrast ratio of 4.68:1 and white text 4.49:1. WCAG asks for at least 4.5:1 for normal text.