HSL(158, 5%, 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(158,5%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 5%, 66%) | color: hsl(158, 5%, 66%) | |
| HEX | #A4ADA9 | color: #A4ADA9 | |
| RGB | rgb(164, 173, 169) | color: rgb(164, 173, 169) | |
| CMYK | cmyk(5%, 0%, 2%, 32%) | — | |
| HSV | hsv(153, 5%, 68%) | — | |
| HWB | hwb(153 65% 32%) | color: hwb(153 65% 32%) | |
| OKLCH | oklch(0.7393 0.0116 167.68) | color: oklch(0.7393 0.0116 167.68) | |
| Lab | lab(69.93 -3.93 0.96) | color: lab(69.93 -3.93 0.96) | |
| LCH | lch(69.93 4.05 166.27) | color: lch(69.93 4.05 166.27) |
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)
#A8A8AA — rgb(168, 168, 170)
Deuteranopia (Green-blind)
#A7A7AA — rgb(167, 167, 170)
Tritanopia (Blue-blind)
#A4ABAB — rgb(164, 171, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 5%, 66%);
text
color: hsl(158, 5%, 66%);
border
border: 2px solid hsl(158, 5%, 66%);
gradient light
background: linear-gradient(to right, hsl(158, 5%, 86%), hsl(158, 5%, 66%));
gradient dark
background: linear-gradient(to right, hsl(158, 5%, 66%), hsl(158, 5%, 46%))
hex
background-color: #A4ADA9;
tailwind
bg-[hsl(158,5%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 5%, 66%, 0.4);
css variable
--color-primary: hsl(158, 5%, 66%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(158, 5%, 66%)?
HEX: #A4ADA9 | RGB: rgb(164, 173, 169) | CMYK: 5%, 0%, 2%, 32% | HSV: 153°, 5%, 68%. Copy any format from the conversion table above.
What colors go well with #A4ADA9?
The complementary color is HSL(338, 5%, 66%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(158, 5%, 66%) in CSS?
As HSL: color: hsl(158, 5%, 66%); — As HEX: color: #A4ADA9; — As RGB: color: rgb(164, 173, 169); — Tailwind CSS: bg-[hsl(158,5%,66%)] — CSS variable: --color-primary: hsl(158, 5%, 66%);