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
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
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
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
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%);