#A28CAB color
The hex color #A28CAB is a grayish magenta.
In the RGB color model it is made of 63.5% red, 54.9% green and 67.1% blue (162, 140, 171).
Its hue angle is 283°, with 16% saturation and 61% lightness. For print, the CMYK equivalent is 5% cyan, 18% magenta, 0% yellow and 33% black.
The closest named color is Metal Petal (#B090B2), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.88:1).
#A28CAB color codes
| HEX | #A28CAB | |
|---|---|---|
| RGB | rgb(162, 140, 171) | |
| RGB percent | rgb(63.5%, 54.9%, 67.1%) | |
| HSL | hsl(283, 16%, 61%) | |
| HSV / HSB | hsv(283, 18%, 67%) | |
| CMYK | cmyk(5%, 18%, 0%, 33%) | |
| CIE LAB | lab(61.11, 14.09, -13.24) | |
| CIE LCH | lch(61.11, 19.34, 316.8) | |
| CIE XYZ | xyz(31.628, 29.378, 42.525) | |
| Decimal | 10652843 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A28CAB, 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 #A28CAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.88:1 | Pass | Fail | Pass |
| Sample text | 3.05:1 | Fail | Fail | Pass |
| #A28CAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.05:1 | Fail | Fail | Pass |
| Sample text | 6.88: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 #A28CAB looks to people with the most common types of color vision deficiency.
#8892acProtanopia
no red cones#8d94aaDeuteranopia
no green cones#a28f96Tritanopia
no blue cones#939393Achromatopsia
no color vision
CSS examples
.background { background-color: #a28cab; }
.text { color: #a28cab; }
.border { border: 2px solid #a28cab; }
.transparent { background-color: rgb(162 140 171 / 50%); }
.gradient { background: linear-gradient(to right, #a28cab, #ab8ca4); }
Similar colors
#b090b2Metal Petal#a090b8Wizard’s Brew#af8ba8Voila!#95859cHatoba Pigeon#a893c1Enchanted Lilac#967d96Amorous#bb99bbDripping Wisteria#b39eb5Pastel Purple
Questions
- What color is #A28CAB?
- #A28CAB is a grayish magenta, closest to the named color Metal Petal. It belongs to the purple family of colors.
- What is the RGB value of #A28CAB?
- The RGB value is 162, 140, 171: 162 red, 140 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #A28CAB?
- The complementary color is #95AB8C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A28CAB?
- Black text. Black text has a contrast ratio of 6.88:1 and white text 3.05:1. WCAG asks for at least 4.5:1 for normal text.