#A2878C color
The hex color #A2878C is a grayish red.
In the RGB color model it is made of 63.5% red, 52.9% green and 54.9% blue (162, 135, 140).
Its hue angle is 349°, with 13% saturation and 58% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 14% yellow and 36% black.
The closest named color is Opium (#987E7E), a difference of 4.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.38:1).
#A2878C color codes
| HEX | #A2878C | |
|---|---|---|
| RGB | rgb(162, 135, 140) | |
| RGB percent | rgb(63.5%, 52.9%, 54.9%) | |
| HSL | hsl(349, 13%, 58%) | |
| HSV / HSB | hsv(349, 17%, 64%) | |
| CMYK | cmyk(0%, 17%, 14%, 36%) | |
| CIE LAB | lab(58.88, 11.09, 1.16) | |
| CIE LCH | lch(58.88, 11.15, 5.99) | |
| CIE XYZ | xyz(28.298, 26.904, 28.508) | |
| Decimal | 10651532 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A2878C, 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 #A2878C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.38:1 | Pass | Fail | Pass |
| Sample text | 3.29:1 | Fail | Fail | Pass |
| #A2878C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.38: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 #A2878C looks to people with the most common types of color vision deficiency.
#8b8b8cProtanopia
no red cones#918f8cDeuteranopia
no green cones#a78589Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #a2878c; }
.text { color: #a2878c; }
.border { border: 2px solid #a2878c; }
.transparent { background-color: rgb(162 135 140 / 50%); }
.gradient { background: linear-gradient(to right, #a2878c, #a28f87); }
Similar colors
#987e7eOpium#a2919bNirvana#8f7f85Mighty Mauve#948593Femme Fatale#a99593Sphinx#a99592Cortex#b68692Punched Pink#bc8f8fRosy Brown
Questions
- What color is #A2878C?
- #A2878C is a grayish red, closest to the named color Opium. It belongs to the gray family of colors.
- What is the RGB value of #A2878C?
- The RGB value is 162, 135, 140: 162 red, 135 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #A2878C?
- The complementary color is #87A29D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A2878C?
- Black text. Black text has a contrast ratio of 6.38:1 and white text 3.29:1. WCAG asks for at least 4.5:1 for normal text.