#AF798C color
The hex color #AF798C is a desaturated rose.
In the RGB color model it is made of 68.6% red, 47.5% green and 54.9% blue (175, 121, 140).
Its hue angle is 339°, with 25% saturation and 58% lightness. For print, the CMYK equivalent is 0% cyan, 31% magenta, 20% yellow and 31% black.
The closest named color is Never Forget (#A67283), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.94:1).
#AF798C color codes
| HEX | #AF798C | |
|---|---|---|
| RGB | rgb(175, 121, 140) | |
| RGB percent | rgb(68.6%, 47.5%, 54.9%) | |
| HSL | hsl(339, 25%, 58%) | |
| HSV / HSB | hsv(339, 31%, 69%) | |
| CMYK | cmyk(0%, 31%, 20%, 31%) | |
| CIE LAB | lab(56.77, 23.93, -1.77) | |
| CIE LCH | lch(56.77, 23.99, 355.77) | |
| CIE XYZ | xyz(29.251, 24.684, 28.03) | |
| Decimal | 11499916 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF798C, 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 #AF798C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.94:1 | Pass | Fail | Pass |
| Sample text | 3.54:1 | Fail | Fail | Pass |
| #AF798C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.54:1 | Fail | Fail | Pass |
| Sample text | 5.94: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 #AF798C looks to people with the most common types of color vision deficiency.
#7f838dProtanopia
no red cones#8c8c8bDeuteranopia
no green cones#b8777fTritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #af798c; }
.text { color: #af798c; }
.border { border: 2px solid #af798c; }
.transparent { background-color: rgb(175 121 140 / 50%); }
.gradient { background: linear-gradient(to right, #af798c, #af8179); }
Similar colors
#a67283Never Forget#b68692Punched Pink#c3738dPrehistoric Pink#b96d8ePinky Pickle#b76e79Rose Gold#b36b92Je t’aime#bb6688Malevolent Mauve#ce7790Devilish Diva
Questions
- What color is #AF798C?
- #AF798C is a desaturated rose, closest to the named color Never Forget. It belongs to the pink family of colors.
- What is the RGB value of #AF798C?
- The RGB value is 175, 121, 140: 175 red, 121 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #AF798C?
- The complementary color is #79AF9C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF798C?
- Black text. Black text has a contrast ratio of 5.94:1 and white text 3.54:1. WCAG asks for at least 4.5:1 for normal text.