#9799A1 color
The hex color #9799A1 is a gray.
In the RGB color model it is made of 59.2% red, 60% green and 63.1% blue (151, 153, 161).
Its hue angle is 228°, with 5% saturation and 61% lightness. For print, the CMYK equivalent is 6% cyan, 5% magenta, 0% yellow and 37% black.
The closest named color is Dark Ages (#9698A3), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.39:1).
#9799A1 color codes
| HEX | #9799A1 | |
|---|---|---|
| RGB | rgb(151, 153, 161) | |
| RGB percent | rgb(59.2%, 60%, 63.1%) | |
| HSL | hsl(228, 5%, 61%) | |
| HSV / HSB | hsv(228, 6%, 63%) | |
| CMYK | cmyk(6%, 5%, 0%, 37%) | |
| CIE LAB | lab(63.29, 0.87, -4.43) | |
| CIE LCH | lch(63.29, 4.52, 281.11) | |
| CIE XYZ | xyz(30.586, 31.935, 38.264) | |
| Decimal | 9935265 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9799A1, 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 #9799A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.39:1 | Pass | Pass | Pass |
| Sample text | 2.84:1 | Fail | Fail | Fail |
| #9799A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.84:1 | Fail | Fail | Fail |
| Sample text | 7.39: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 #9799A1 looks to people with the most common types of color vision deficiency.
#979aa1Protanopia
no red cones#9699a1Deuteranopia
no green cones#959a9bTritanopia
no blue cones#999999Achromatopsia
no color vision
CSS examples
.background { background-color: #9799a1; }
.text { color: #9799a1; }
.border { border: 2px solid #9799a1; }
.transparent { background-color: rgb(151 153 161 / 50%); }
.gradient { background: linear-gradient(to right, #9799a1, #9a97a1); }
Similar colors
#9698a3Dark Ages#91979fGrisaille#979ba8Dusky Mood#9596a4Too Big to Whale#9998a7Lavender Ash#90979bSteely Gray#9b959cLunar Light#999999Million Gray
Closest common color name: Pewter.
Questions
- What color is #9799A1?
- #9799A1 is a gray, closest to the named color Dark Ages. It belongs to the gray family of colors.
- What is the RGB value of #9799A1?
- The RGB value is 151, 153, 161: 151 red, 153 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #9799A1?
- The complementary color is #A19F97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9799A1?
- Black text. Black text has a contrast ratio of 7.39:1 and white text 2.84:1. WCAG asks for at least 4.5:1 for normal text.