#AF71B4 color
The hex color #AF71B4 is a desaturated magenta.
In the RGB color model it is made of 68.6% red, 44.3% green and 70.6% blue (175, 113, 180).
Its hue angle is 296°, with 31% saturation and 57% lightness. For print, the CMYK equivalent is 3% cyan, 37% magenta, 0% yellow and 29% black.
The closest named color is Lavendless (#B86FC2), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.84:1).
#AF71B4 color codes
| HEX | #AF71B4 | |
|---|---|---|
| RGB | rgb(175, 113, 180) | |
| RGB percent | rgb(68.6%, 44.3%, 70.6%) | |
| HSL | hsl(296, 31%, 57%) | |
| HSV / HSB | hsv(296, 37%, 71%) | |
| CMYK | cmyk(3%, 37%, 0%, 29%) | |
| CIE LAB | lab(56.31, 35.52, -25.59) | |
| CIE LCH | lch(56.31, 43.77, 324.23) | |
| CIE XYZ | xyz(31.822, 24.221, 46.17) | |
| Decimal | 11497908 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF71B4, 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 #AF71B4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.84:1 | Pass | Fail | Pass |
| Sample text | 3.59:1 | Fail | Fail | Pass |
| #AF71B4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.59:1 | Fail | Fail | Pass |
| Sample text | 5.84: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 #AF71B4 looks to people with the most common types of color vision deficiency.
#6b82b6Protanopia
no red cones#7a8ab2Deuteranopia
no green cones#b2788aTritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #af71b4; }
.text { color: #af71b4; }
.border { border: 2px solid #af71b4; }
.transparent { background-color: rgb(175 113 180 / 50%); }
.gradient { background: linear-gradient(to right, #af71b4, #b47198); }
Similar colors
#b86fc2Lavendless#ab7cb4Berries Galore#a97fb1Heart Potion#a264baPrickly Purple#946dadCrown Jewels#b97da8Romanov Mauve#a37298Drama Queen#966ebdViola
Closest common color name: Lavender Purple.
Questions
- What color is #AF71B4?
- #AF71B4 is a desaturated magenta, closest to the named color Lavendless. It belongs to the purple family of colors.
- What is the RGB value of #AF71B4?
- The RGB value is 175, 113, 180: 175 red, 113 green and 180 blue on a 0 to 255 scale.
- What is the complementary color of #AF71B4?
- The complementary color is #76B471, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF71B4?
- Black text. Black text has a contrast ratio of 5.84:1 and white text 3.59:1. WCAG asks for at least 4.5:1 for normal text.