#A6878A color
The hex color #A6878A is a grayish red.
In the RGB color model it is made of 65.1% red, 52.9% green and 54.1% blue (166, 135, 138).
Its hue angle is 354°, with 15% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 19% magenta, 17% yellow and 35% black.
The closest named color is Opium (#987E7E), a difference of 4.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.45:1).
#A6878A color codes
| HEX | #A6878A | |
|---|---|---|
| RGB | rgb(166, 135, 138) | |
| RGB percent | rgb(65.1%, 52.9%, 54.1%) | |
| HSL | hsl(354, 15%, 59%) | |
| HSV / HSB | hsv(354, 19%, 65%) | |
| CMYK | cmyk(0%, 19%, 17%, 35%) | |
| CIE LAB | lab(59.22, 12.28, 2.85) | |
| CIE LCH | lch(59.22, 12.6, 13.08) | |
| CIE XYZ | xyz(28.977, 27.271, 27.777) | |
| Decimal | 10913674 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A6878A, 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 #A6878A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.45:1 | Pass | Fail | Pass |
| Sample text | 3.25:1 | Fail | Fail | Pass |
| #A6878A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.25:1 | Fail | Fail | Pass |
| Sample text | 6.45: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 #A6878A looks to people with the most common types of color vision deficiency.
#8c8b8aProtanopia
no red cones#939189Deuteranopia
no green cones#ac8588Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #a6878a; }
.text { color: #a6878a; }
.border { border: 2px solid #a6878a; }
.transparent { background-color: rgb(166 135 138 / 50%); }
.gradient { background: linear-gradient(to right, #a6878a, #a69387); }
Similar colors
#987e7eOpium#bc8f8fRosy Brown#b68692Punched Pink#a99593Sphinx#a2919bNirvana#a99592Cortex#a48a80Earthbound#8f7f85Mighty Mauve
Questions
- What color is #A6878A?
- #A6878A is a grayish red, closest to the named color Opium. It belongs to the gray family of colors.
- What is the RGB value of #A6878A?
- The RGB value is 166, 135, 138: 166 red, 135 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #A6878A?
- The complementary color is #87A6A3, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A6878A?
- Black text. Black text has a contrast ratio of 6.45:1 and white text 3.25:1. WCAG asks for at least 4.5:1 for normal text.