#AF42B8 color
The hex color #AF42B8 is a desaturated magenta.
In the RGB color model it is made of 68.6% red, 25.9% green and 72.2% blue (175, 66, 184).
Its hue angle is 295°, with 47% saturation and 49% lightness. For print, the CMYK equivalent is 5% cyan, 64% magenta, 0% yellow and 28% black.
The closest named color is Fuchsia Pheromone (#9F4CB7), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.89:1).
#AF42B8 color codes
| HEX | #AF42B8 | |
|---|---|---|
| RGB | rgb(175, 66, 184) | |
| RGB percent | rgb(68.6%, 25.9%, 72.2%) | |
| HSL | hsl(295, 47%, 49%) | |
| HSV / HSB | hsv(295, 64%, 72%) | |
| CMYK | cmyk(5%, 64%, 0%, 28%) | |
| CIE LAB | lab(47.59, 59.7, -41.54) | |
| CIE LCH | lch(47.59, 72.73, 325.17) | |
| CIE XYZ | xyz(28.278, 16.473, 47.028) | |
| Decimal | 11485880 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF42B8, 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 #AF42B8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.29:1 | Fail | Fail | Pass |
| Sample text | 4.89:1 | Pass | Fail | Pass |
| #AF42B8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.89:1 | Pass | Fail | Pass |
| Sample text | 4.29:1 | Fail | 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 #AF42B8 looks to people with the most common types of color vision deficiency.
#2b68bcProtanopia
no red cones#5775b5Deuteranopia
no green cones#b35477Tritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #af42b8; }
.text { color: #af42b8; }
.border { border: 2px solid #af42b8; }
.transparent { background-color: rgb(175 66 184 / 50%); }
.gradient { background: linear-gradient(to right, #af42b8, #b84286); }
Similar colors
#9f4cb7Fuchsia Pheromone#bb22aaAmora Purple#aa22bbMagentleman#cc11bbExplosive Purple#c920b0Mystifying Magenta#bb11aaPunk Rock Purple#aa22ccTelemagenta#bb55ccLove Priestess
Closest common color name: Medium Orchid.
Questions
- What color is #AF42B8?
- #AF42B8 is a desaturated magenta, closest to the named color Fuchsia Pheromone. It belongs to the purple family of colors.
- What is the RGB value of #AF42B8?
- The RGB value is 175, 66, 184: 175 red, 66 green and 184 blue on a 0 to 255 scale.
- What is the complementary color of #AF42B8?
- The complementary color is #4BB842, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF42B8?
- White text. Black text has a contrast ratio of 4.29:1 and white text 4.89:1. WCAG asks for at least 4.5:1 for normal text.