HSL(97, 0%, 65%)
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(97,0%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 0%, 65%) | color: hsl(97, 0%, 65%) | |
| HEX | #A6A6A6 | color: #A6A6A6 | |
| RGB | rgb(166, 166, 166) | color: rgb(166, 166, 166) | |
| CMYK | cmyk(0%, 0%, 0%, 35%) | — | |
| HSV | hsv(0, 0%, 65%) | — | |
| HWB | hwb(0 65% 35%) | color: hwb(0 65% 35%) | |
| OKLCH | oklch(0.7252 0 89.88) | color: oklch(0.7252 0 89.88) | |
| Lab | lab(68.12 -0 0) | color: lab(68.12 -0 0) | |
| LCH | lch(68.12 0 180) | color: lch(68.12 0 180) |
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)
#A6A6A6 — rgb(166, 166, 166)
Deuteranopia (Green-blind)
#A6A6A6 — rgb(166, 166, 166)
Tritanopia (Blue-blind)
#A6A6A6 — rgb(166, 166, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 0%, 65%);
text
color: hsl(97, 0%, 65%);
border
border: 2px solid hsl(97, 0%, 65%);
gradient light
background: linear-gradient(to right, hsl(97, 0%, 85%), hsl(97, 0%, 65%));
gradient dark
background: linear-gradient(to right, hsl(97, 0%, 65%), hsl(97, 0%, 45%))
hex
background-color: #A6A6A6;
tailwind
bg-[hsl(97,0%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 0%, 65%, 0.4);
css variable
--color-primary: hsl(97, 0%, 65%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(97, 0%, 65%)?
HEX: #A6A6A6 | RGB: rgb(166, 166, 166) | CMYK: 0%, 0%, 0%, 35% | HSV: 0°, 0%, 65%. Copy any format from the conversion table above.
What colors go well with #A6A6A6?
The complementary color is HSL(277, 0%, 65%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(97, 0%, 65%) in CSS?
As HSL: color: hsl(97, 0%, 65%); — As HEX: color: #A6A6A6; — As RGB: color: rgb(166, 166, 166); — Tailwind CSS: bg-[hsl(97,0%,65%)] — CSS variable: --color-primary: hsl(97, 0%, 65%);