#AF9798 color
The hex color #AF9798 is a light, grayish red.
In the RGB color model it is made of 68.6% red, 59.2% green and 59.6% blue (175, 151, 152).
Its hue angle is 358°, with 13% saturation and 64% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 13% yellow and 31% black.
The closest named color is Sphinx (#A99593), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.7:1).
#AF9798 color codes
| HEX | #AF9798 | |
|---|---|---|
| RGB | rgb(175, 151, 152) | |
| RGB percent | rgb(68.6%, 59.2%, 59.6%) | |
| HSL | hsl(358, 13%, 64%) | |
| HSV / HSB | hsv(358, 14%, 69%) | |
| CMYK | cmyk(0%, 14%, 13%, 31%) | |
| CIE LAB | lab(64.58, 9.06, 2.77) | |
| CIE LCH | lch(64.58, 9.47, 16.98) | |
| CIE XYZ | xyz(34.413, 33.515, 34.356) | |
| Decimal | 11507608 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF9798, 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 #AF9798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.7:1 | Pass | Pass | Pass |
| Sample text | 2.73:1 | Fail | Fail | Fail |
| #AF9798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.73:1 | Fail | Fail | Fail |
| Sample text | 7.7:1 | Pass | Pass | 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 #AF9798 looks to people with the most common types of color vision deficiency.
#9b9a98Protanopia
no red cones#a09e98Deuteranopia
no green cones#b49597Tritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #af9798; }
.text { color: #af9798; }
.border { border: 2px solid #af9798; }
.transparent { background-color: rgb(175 151 152 / 50%); }
.gradient { background: linear-gradient(to right, #af9798, #afa297); }
Similar colors
#a99593Sphinx#a99592Cortex#b79c94Creamed Caramel#bd9d95Coca Mocha#a2919bNirvana#b7a5adFoggy Plum#a3999cWalkway#c4a7a1Sable Cloaked
Closest common color name: Rosy Brown.
Questions
- What color is #AF9798?
- #AF9798 is a light, grayish red, closest to the named color Sphinx. It belongs to the gray family of colors.
- What is the RGB value of #AF9798?
- The RGB value is 175, 151, 152: 175 red, 151 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #AF9798?
- The complementary color is #97AFAE, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF9798?
- Black text. Black text has a contrast ratio of 7.7:1 and white text 2.73:1. WCAG asks for at least 4.5:1 for normal text.