#A792A7 color
The hex color #A792A7 is a grayish magenta.
In the RGB color model it is made of 65.5% red, 57.3% green and 65.5% blue (167, 146, 167).
Its hue angle is 300°, with 11% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 0% yellow and 35% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 3.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.31:1).
#A792A7 color codes
| HEX | #A792A7 | |
|---|---|---|
| RGB | rgb(167, 146, 167) | |
| RGB percent | rgb(65.5%, 57.3%, 65.5%) | |
| HSL | hsl(300, 11%, 61%) | |
| HSV / HSB | hsv(300, 13%, 65%) | |
| CMYK | cmyk(0%, 13%, 0%, 35%) | |
| CIE LAB | lab(62.98, 11.66, -8.13) | |
| CIE LCH | lch(62.98, 14.21, 325.12) | |
| CIE XYZ | xyz(33.189, 31.564, 40.896) | |
| Decimal | 10982055 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A792A7, 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 #A792A7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.31:1 | Pass | Pass | Pass |
| Sample text | 2.87:1 | Fail | Fail | Fail |
| #A792A7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.87:1 | Fail | Fail | Fail |
| Sample text | 7.31: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 #A792A7 looks to people with the most common types of color vision deficiency.
#9197a8Protanopia
no red cones#9599a6Deuteranopia
no green cones#a89499Tritanopia
no blue cones#989898Achromatopsia
no color vision
CSS examples
.background { background-color: #a792a7; }
.text { color: #a792a7; }
.border { border: 2px solid #a792a7; }
.transparent { background-color: rgb(167 146 167 / 50%); }
.gradient { background: linear-gradient(to right, #a792a7, #a7929d); }
Similar colors
#b39eb5Pastel Purple#a2919bNirvana#af8ba8Voila!#b090b2Metal Petal#95859cHatoba Pigeon#bb99aaClassy Mauve#948593Femme Fatale#bb99bbDripping Wisteria
Questions
- What color is #A792A7?
- #A792A7 is a grayish magenta, closest to the named color Pastel Purple. It belongs to the purple family of colors.
- What is the RGB value of #A792A7?
- The RGB value is 167, 146, 167: 167 red, 146 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #A792A7?
- The complementary color is #92A792, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A792A7?
- Black text. Black text has a contrast ratio of 7.31:1 and white text 2.87:1. WCAG asks for at least 4.5:1 for normal text.