HSL(91, 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(91,8%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(91, 8%, 66%) | color: hsl(91, 8%, 66%) | |
| HEX | #A8AFA1 | color: #A8AFA1 | |
| RGB | rgb(168, 175, 161) | color: rgb(168, 175, 161) | |
| CMYK | cmyk(4%, 0%, 8%, 31%) | — | |
| HSV | hsv(90, 8%, 69%) | — | |
| HWB | hwb(90 63% 31%) | color: hwb(90 63% 31%) | |
| OKLCH | oklch(0.7444 0.0212 128.78) | color: oklch(0.7444 0.0212 128.78) | |
| Lab | lab(70.57 -5.07 6.33) | color: lab(70.57 -5.07 6.33) | |
| LCH | lch(70.57 8.11 128.69) | color: lch(70.57 8.11 128.69) |
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)
#ABABA4 — rgb(171, 171, 164)
Deuteranopia (Green-blind)
#ABAAA5 — rgb(171, 170, 165)
Tritanopia (Blue-blind)
#A8A7A8 — rgb(168, 167, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(91, 8%, 66%);
text
color: hsl(91, 8%, 66%);
border
border: 2px solid hsl(91, 8%, 66%);
gradient light
background: linear-gradient(to right, hsl(91, 8%, 86%), hsl(91, 8%, 66%));
gradient dark
background: linear-gradient(to right, hsl(91, 8%, 66%), hsl(91, 8%, 46%))
hex
background-color: #A8AFA1;
tailwind
bg-[hsl(91,8%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(91, 8%, 66%, 0.4);
css variable
--color-primary: hsl(91, 8%, 66%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(91, 8%, 66%)?
HEX: #A8AFA1 | RGB: rgb(168, 175, 161) | CMYK: 4%, 0%, 8%, 31% | HSV: 90°, 8%, 69%. Copy any format from the conversion table above.
What colors go well with #A8AFA1?
The complementary color is HSL(271, 8%, 66%). For a triadic harmony, use hues 91°, 211°, and 331°. For analogous combinations, try hues 61° and 121°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(91, 8%, 66%) in CSS?
As HSL: color: hsl(91, 8%, 66%); — As HEX: color: #A8AFA1; — As RGB: color: rgb(168, 175, 161); — Tailwind CSS: bg-[hsl(91,8%,66%)] — CSS variable: --color-primary: hsl(91, 8%, 66%);