#AF879C color
The hex color #AF879C is a grayish rose.
In the RGB color model it is made of 68.6% red, 52.9% green and 61.2% blue (175, 135, 156).
Its hue angle is 329°, with 20% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 11% yellow and 31% black.
The closest named color is Voila! (#AF8BA8), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.77:1).
#AF879C color codes
| HEX | #AF879C | |
|---|---|---|
| RGB | rgb(175, 135, 156) | |
| RGB percent | rgb(68.6%, 52.9%, 61.2%) | |
| HSL | hsl(329, 20%, 61%) | |
| HSV / HSB | hsv(329, 23%, 69%) | |
| CMYK | cmyk(0%, 23%, 11%, 31%) | |
| CIE LAB | lab(60.64, 18.72, -5.26) | |
| CIE LCH | lch(60.64, 19.44, 344.29) | |
| CIE XYZ | xyz(32.344, 28.843, 35.31) | |
| Decimal | 11503516 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF879C, 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 #AF879C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.77:1 | Pass | Fail | Pass |
| Sample text | 3.1:1 | Fail | Fail | Pass |
| #AF879C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.1:1 | Fail | Fail | Pass |
| Sample text | 6.77: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 #AF879C looks to people with the most common types of color vision deficiency.
#8a8e9dProtanopia
no red cones#93959bDeuteranopia
no green cones#b5878eTritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #af879c; }
.text { color: #af879c; }
.border { border: 2px solid #af879c; }
.transparent { background-color: rgb(175 135 156 / 50%); }
.gradient { background: linear-gradient(to right, #af879c, #af8788); }
Similar colors
#af8ba8Voila!#b68692Punched Pink#bf91b2Mauve Magic#bb99aaClassy Mauve#c88ca4Pinch Me#b090b2Metal Petal#967d96Amorous#b97da8Romanov Mauve
Closest common color name: Pastel Purple.
Questions
- What color is #AF879C?
- #AF879C is a grayish rose, closest to the named color Voila!. It belongs to the pink family of colors.
- What is the RGB value of #AF879C?
- The RGB value is 175, 135, 156: 175 red, 135 green and 156 blue on a 0 to 255 scale.
- What is the complementary color of #AF879C?
- The complementary color is #87AF9A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF879C?
- Black text. Black text has a contrast ratio of 6.77:1 and white text 3.1:1. WCAG asks for at least 4.5:1 for normal text.