#AF5AA4 color
The hex color #AF5AA4 is a desaturated magenta.
In the RGB color model it is made of 68.6% red, 35.3% green and 64.3% blue (175, 90, 164).
Its hue angle is 308°, with 35% saturation and 52% lightness. For print, the CMYK equivalent is 0% cyan, 49% magenta, 6% yellow and 31% black.
The closest named color is Magenta Memoir (#B4559B), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.82:1).
#AF5AA4 color codes
| HEX | #AF5AA4 | |
|---|---|---|
| RGB | rgb(175, 90, 164) | |
| RGB percent | rgb(68.6%, 35.3%, 64.3%) | |
| HSL | hsl(308, 35%, 52%) | |
| HSV / HSB | hsv(308, 49%, 69%) | |
| CMYK | cmyk(0%, 49%, 6%, 31%) | |
| CIE LAB | lab(50.81, 44.85, -24.78) | |
| CIE LCH | lch(50.81, 51.24, 331.08) | |
| CIE XYZ | xyz(28.036, 19.108, 37.326) | |
| Decimal | 11492004 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF5AA4, 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 #AF5AA4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.82:1 | Pass | Fail | Pass |
| Sample text | 4.36:1 | Fail | Fail | Pass |
| #AF5AA4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.36:1 | Fail | Fail | Pass |
| Sample text | 4.82: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 #AF5AA4 looks to people with the most common types of color vision deficiency.
#5871a7Protanopia
no red cones#707da2Deuteranopia
no green cones#b56077Tritanopia
no blue cones#797979Achromatopsia
no color vision
CSS examples
.background { background-color: #af5aa4; }
.text { color: #af5aa4; }
.border { border: 2px solid #af5aa4; }
.transparent { background-color: rgb(175 90 164 / 50%); }
.gradient { background: linear-gradient(to right, #af5aa4, #af5a7a); }
Similar colors
#b4559bMagenta Memoir#9d5a8fBermuda Onion#a15589Purple Zergling#c35b99Llilacquered#a264baPrickly Purple#cc4499Lustful Wishes#b86fc2Lavendless#9d5783Feminism
Closest common color name: Mulberry.
Questions
- What color is #AF5AA4?
- #AF5AA4 is a desaturated magenta, closest to the named color Magenta Memoir. It belongs to the purple family of colors.
- What is the RGB value of #AF5AA4?
- The RGB value is 175, 90, 164: 175 red, 90 green and 164 blue on a 0 to 255 scale.
- What is the complementary color of #AF5AA4?
- The complementary color is #5AAF65, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF5AA4?
- Black text. Black text has a contrast ratio of 4.82:1 and white text 4.36:1. WCAG asks for at least 4.5:1 for normal text.