HSL(96, 8%, 66%)

Grayish Gray — Gray color

Adjust Color

Color Information

Color Name

Grayish Gray

Color Family

Gray

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(96,8%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(96, 8%, 66%) color: hsl(96, 8%, 66%)
HEX #A7AFA1 color: #A7AFA1
RGB rgb(167, 175, 161) color: rgb(167, 175, 161)
CMYK cmyk(5%, 0%, 8%, 31%)
HSV hsv(94, 8%, 69%)
HWB hwb(94 63% 31%) color: hwb(94 63% 31%)
OKLCH oklch(0.7436 0.0217 131.52) color: oklch(0.7436 0.0217 131.52)
Lab lab(70.49 -5.43 6.21) color: lab(70.49 -5.43 6.21)
LCH lch(70.49 8.25 131.17) color: lch(70.49 8.25 131.17)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 2.26:1
vs Black 9.29:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#AAABA4 — rgb(170, 171, 164)

Deuteranopia (Green-blind)

#AAA9A5 — rgb(170, 169, 165)

Tritanopia (Blue-blind)

#A7A7A8 — rgb(167, 167, 168)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(96, 8%, 66%);

text

color: hsl(96, 8%, 66%);

border

border: 2px solid hsl(96, 8%, 66%);

gradient light

background: linear-gradient(to right, hsl(96, 8%, 86%), hsl(96, 8%, 66%));

gradient dark

background: linear-gradient(to right, hsl(96, 8%, 66%), hsl(96, 8%, 46%))

hex

background-color: #A7AFA1;

tailwind

bg-[hsl(96,8%,66%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(96, 8%, 66%, 0.4);

css variable

--color-primary: hsl(96, 8%, 66%);

Related Colors

Use Cases for Grayish Gray

Neutral backgrounds Body text Borders Secondary buttons Disabled states

Frequently Asked Questions

What are all the color codes for HSL(96, 8%, 66%)?

HEX: #A7AFA1 | RGB: rgb(167, 175, 161) | CMYK: 5%, 0%, 8%, 31% | HSV: 94°, 8%, 69%. Copy any format from the conversion table above.

What colors go well with #A7AFA1?

The complementary color is HSL(276, 8%, 66%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(96, 8%, 66%) in CSS?

As HSL: color: hsl(96, 8%, 66%); — As HEX: color: #A7AFA1; — As RGB: color: rgb(167, 175, 161); — Tailwind CSS: bg-[hsl(96,8%,66%)] — CSS variable: --color-primary: hsl(96, 8%, 66%);