#9FA2AB color
The hex color #9FA2AB is a gray.
In the RGB color model it is made of 62.4% red, 63.5% green and 67.1% blue (159, 162, 171).
Its hue angle is 225°, with 7% saturation and 65% lightness. For print, the CMYK equivalent is 7% cyan, 5% magenta, 0% yellow and 33% black.
The closest named color is Dusky Mood (#979BA8), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.23:1).
#9FA2AB color codes
| HEX | #9FA2AB | |
|---|---|---|
| RGB | rgb(159, 162, 171) | |
| RGB percent | rgb(62.4%, 63.5%, 67.1%) | |
| HSL | hsl(225, 7%, 65%) | |
| HSV / HSB | hsv(225, 7%, 67%) | |
| CMYK | cmyk(7%, 5%, 0%, 33%) | |
| CIE LAB | lab(66.64, 0.71, -5.03) | |
| CIE LCH | lch(66.64, 5.08, 278.07) | |
| CIE XYZ | xyz(34.568, 36.152, 43.677) | |
| Decimal | 10461867 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9FA2AB, 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 #9FA2AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.23:1 | Pass | Pass | Pass |
| Sample text | 2.55:1 | Fail | Fail | Fail |
| #9FA2AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.23: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 #9FA2AB looks to people with the most common types of color vision deficiency.
#a0a3abProtanopia
no red cones#9fa2abDeuteranopia
no green cones#9ca4a5Tritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #9fa2ab; }
.text { color: #9fa2ab; }
.border { border: 2px solid #9fa2ab; }
.transparent { background-color: rgb(159 162 171 / 50%); }
.gradient { background: linear-gradient(to right, #9fa2ab, #a29fab); }
Similar colors
#979ba8Dusky Mood#9698a3Dark Ages#91979fGrisaille#9596a4Too Big to Whale#a9a8a9Ultimate Gray#979ea1Happy Cement#94a2b1Robotic Gods#9998a7Lavender Ash
Closest common color name: Dark Gray.
Questions
- What color is #9FA2AB?
- #9FA2AB is a gray, closest to the named color Dusky Mood. It belongs to the gray family of colors.
- What is the RGB value of #9FA2AB?
- The RGB value is 159, 162, 171: 159 red, 162 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #9FA2AB?
- The complementary color is #ABA89F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9FA2AB?
- Black text. Black text has a contrast ratio of 8.23:1 and white text 2.55:1. WCAG asks for at least 4.5:1 for normal text.