#AF799E color
The hex color #AF799E is a desaturated magenta.
In the RGB color model it is made of 68.6% red, 47.5% green and 62% blue (175, 121, 158).
Its hue angle is 319°, with 25% saturation and 58% lightness. For print, the CMYK equivalent is 0% cyan, 31% magenta, 10% yellow and 31% black.
The closest named color is Romanov Mauve (#B97DA8), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.05:1).
#AF799E color codes
| HEX | #AF799E | |
|---|---|---|
| RGB | rgb(175, 121, 158) | |
| RGB percent | rgb(68.6%, 47.5%, 62%) | |
| HSL | hsl(319, 25%, 58%) | |
| HSV / HSB | hsv(319, 31%, 69%) | |
| CMYK | cmyk(0%, 31%, 10%, 31%) | |
| CIE LAB | lab(57.33, 26.95, -11.36) | |
| CIE LCH | lch(57.33, 29.25, 337.15) | |
| CIE XYZ | xyz(30.688, 25.259, 35.6) | |
| Decimal | 11499934 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF799E, 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 #AF799E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.05:1 | Pass | Fail | Pass |
| Sample text | 3.47:1 | Fail | Fail | Pass |
| #AF799E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.47:1 | Fail | Fail | Pass |
| Sample text | 6.05: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 #AF799E looks to people with the most common types of color vision deficiency.
#7b859fProtanopia
no red cones#878d9cDeuteranopia
no green cones#b57a86Tritanopia
no blue cones#8a8a8aAchromatopsia
no color vision
CSS examples
.background { background-color: #af799e; }
.text { color: #af799e; }
.border { border: 2px solid #af799e; }
.transparent { background-color: rgb(175 121 158 / 50%); }
.gradient { background: linear-gradient(to right, #af799e, #af7983); }
Similar colors
#b97da8Romanov Mauve#a37298Drama Queen#b36b92Je t’aime#a97fb1Heart Potion#b96d8ePinky Pickle#c973a2Fading Love#af8ba8Voila!#ca83a7Moonlight Mauve
Closest common color name: Lavender Purple.
Questions
- What color is #AF799E?
- #AF799E is a desaturated magenta, closest to the named color Romanov Mauve. It belongs to the pink family of colors.
- What is the RGB value of #AF799E?
- The RGB value is 175, 121, 158: 175 red, 121 green and 158 blue on a 0 to 255 scale.
- What is the complementary color of #AF799E?
- The complementary color is #79AF8A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF799E?
- Black text. Black text has a contrast ratio of 6.05:1 and white text 3.47:1. WCAG asks for at least 4.5:1 for normal text.