#A297A6 color
The hex color #A297A6 is a gray.
In the RGB color model it is made of 63.5% red, 59.2% green and 65.1% blue (162, 151, 166).
Its hue angle is 284°, with 8% saturation and 62% lightness. For print, the CMYK equivalent is 2% cyan, 9% magenta, 0% yellow and 35% black.
The closest named color is Nirvana (#A2919B), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.51:1).
#A297A6 color codes
| HEX | #A297A6 | |
|---|---|---|
| RGB | rgb(162, 151, 166) | |
| RGB percent | rgb(63.5%, 59.2%, 65.1%) | |
| HSL | hsl(284, 8%, 62%) | |
| HSV / HSB | hsv(284, 9%, 65%) | |
| CMYK | cmyk(2%, 9%, 0%, 35%) | |
| CIE LAB | lab(63.81, 6.88, -6.38) | |
| CIE LCH | lch(63.81, 9.38, 317.15) | |
| CIE XYZ | xyz(32.849, 32.568, 40.625) | |
| Decimal | 10655654 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A297A6, 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 #A297A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.51:1 | Pass | Pass | Pass |
| Sample text | 2.79:1 | Fail | Fail | Fail |
| #A297A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.51:1 | Pass | Pass | 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 #A297A6 looks to people with the most common types of color vision deficiency.
#959aa7Protanopia
no red cones#989ba5Deuteranopia
no green cones#a2989cTritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
CSS examples
.background { background-color: #a297a6; }
.text { color: #a297a6; }
.border { border: 2px solid #a297a6; }
.transparent { background-color: rgb(162 151 166 / 50%); }
.gradient { background: linear-gradient(to right, #a297a6, #a697a3); }
Similar colors
#a2919bNirvana#9998a7Lavender Ash#9b959cLunar Light#9999aaMachinery#b39eb5Pastel Purple#a3999cWalkway#9596a4Too Big to Whale#948593Femme Fatale
Questions
- What color is #A297A6?
- #A297A6 is a gray, closest to the named color Nirvana. It belongs to the gray family of colors.
- What is the RGB value of #A297A6?
- The RGB value is 162, 151, 166: 162 red, 151 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #A297A6?
- The complementary color is #9BA697, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A297A6?
- Black text. Black text has a contrast ratio of 7.51:1 and white text 2.79:1. WCAG asks for at least 4.5:1 for normal text.