#9D9FAB color

#9D9FAB rgb(157, 159, 171)
Shades of gray

The hex color #9D9FAB is a gray.

In the RGB color model it is made of 61.6% red, 62.4% green and 67.1% blue (157, 159, 171).

Its hue angle is 231°, with 8% saturation and 64% lightness. For print, the CMYK equivalent is 8% cyan, 7% magenta, 0% yellow and 33% black.

The closest named color is Dusky Mood (#979BA8), a difference of 1.7 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 7.98:1).

#9D9FAB color codes

HEX#9D9FAB
RGBrgb(157, 159, 171)
RGB percentrgb(61.6%, 62.4%, 67.1%)
HSLhsl(231, 8%, 64%)
HSV / HSBhsv(231, 8%, 67%)
CMYKcmyk(8%, 7%, 0%, 33%)
CIE LABlab(65.67, 1.68, -6.47)
CIE LCHlch(65.67, 6.68, 284.54)
CIE XYZxyz(33.652, 34.904, 43.485)
Decimal10330027
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9D9FAB, 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 #9D9FABRatioAAAAAAA large
Sample text7.98:1PassPassPass
Sample text2.63:1FailFailFail
#9D9FAB as text onRatioAAAAAAA large
Sample text2.63:1FailFailFail
Sample text7.98:1PassPassPass

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 #9D9FAB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9d9fab; }
.text { color: #9d9fab; }
.border { border: 2px solid #9d9fab; }
.transparent { background-color: rgb(157 159 171 / 50%); }
.gradient { background: linear-gradient(to right, #9d9fab, #a29dab); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Gray.

Questions

What color is #9D9FAB?
#9D9FAB is a gray, closest to the named color Dusky Mood. It belongs to the gray family of colors.
What is the RGB value of #9D9FAB?
The RGB value is 157, 159, 171: 157 red, 159 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #9D9FAB?
The complementary color is #ABA99D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9D9FAB?
Black text. Black text has a contrast ratio of 7.98:1 and white text 2.63:1. WCAG asks for at least 4.5:1 for normal text.