#AF94B7 color
The hex color #AF94B7 is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 58% green and 71.8% blue (175, 148, 183).
Its hue angle is 286°, with 20% saturation and 65% lightness. For print, the CMYK equivalent is 4% cyan, 19% magenta, 0% yellow and 28% black.
The closest named color is Metal Petal (#B090B2), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.74:1).
#AF94B7 color codes
| HEX | #AF94B7 | |
|---|---|---|
| RGB | rgb(175, 148, 183) | |
| RGB percent | rgb(68.6%, 58%, 71.8%) | |
| HSL | hsl(286, 20%, 65%) | |
| HSV / HSB | hsv(286, 19%, 72%) | |
| CMYK | cmyk(4%, 19%, 0%, 28%) | |
| CIE LAB | lab(64.73, 16.48, -14.44) | |
| CIE LCH | lch(64.73, 21.91, 318.78) | |
| CIE XYZ | xyz(36.815, 33.713, 49.358) | |
| Decimal | 11506871 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF94B7, 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 #AF94B7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.74:1 | Pass | Pass | Pass |
| Sample text | 2.71:1 | Fail | Fail | Fail |
| #AF94B7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.71:1 | Fail | Fail | Fail |
| Sample text | 7.74: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 #AF94B7 looks to people with the most common types of color vision deficiency.
#909bb9Protanopia
no red cones#969eb6Deuteranopia
no green cones#af98a0Tritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #af94b7; }
.text { color: #af94b7; }
.border { border: 2px solid #af94b7; }
.transparent { background-color: rgb(175 148 183 / 50%); }
.gradient { background: linear-gradient(to right, #af94b7, #b794ae); }
Similar colors
#b090b2Metal Petal#bb99bbDripping Wisteria#a893c1Enchanted Lilac#af8ba8Voila!#a090b8Wizard’s Brew#b39eb5Pastel Purple#bb9ecdTurnip Crown#bf90bbLa la Love
Questions
- What color is #AF94B7?
- #AF94B7 is a light, grayish magenta, closest to the named color Metal Petal. It belongs to the purple family of colors.
- What is the RGB value of #AF94B7?
- The RGB value is 175, 148, 183: 175 red, 148 green and 183 blue on a 0 to 255 scale.
- What is the complementary color of #AF94B7?
- The complementary color is #9CB794, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF94B7?
- Black text. Black text has a contrast ratio of 7.74:1 and white text 2.71:1. WCAG asks for at least 4.5:1 for normal text.