HSL(42, 2%, 66%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(42,2%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 2%, 66%) | color: hsl(42, 2%, 66%) | |
| HEX | #AAA9A7 | color: #AAA9A7 | |
| RGB | rgb(170, 169, 167) | color: rgb(170, 169, 167) | |
| CMYK | cmyk(0%, 1%, 2%, 33%) | — | |
| HSV | hsv(40, 2%, 67%) | — | |
| HWB | hwb(40 66% 33%) | color: hwb(40 66% 33%) | |
| OKLCH | oklch(0.735 0.0031 84.56) | color: oklch(0.735 0.0031 84.56) | |
| Lab | lab(69.26 -0.02 1.15) | color: lab(69.26 -0.02 1.15) | |
| LCH | lch(69.26 1.15 91) | color: lch(69.26 1.15 91) |
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)
#AAAAA7 — rgb(170, 170, 167)
Deuteranopia (Green-blind)
#AAAAA8 — rgb(170, 170, 168)
Tritanopia (Blue-blind)
#AAA8A8 — rgb(170, 168, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 2%, 66%);
text
color: hsl(42, 2%, 66%);
border
border: 2px solid hsl(42, 2%, 66%);
gradient light
background: linear-gradient(to right, hsl(42, 2%, 86%), hsl(42, 2%, 66%));
gradient dark
background: linear-gradient(to right, hsl(42, 2%, 66%), hsl(42, 2%, 46%))
hex
background-color: #AAA9A7;
tailwind
bg-[hsl(42,2%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 2%, 66%, 0.4);
css variable
--color-primary: hsl(42, 2%, 66%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(42, 2%, 66%)?
HEX: #AAA9A7 | RGB: rgb(170, 169, 167) | CMYK: 0%, 1%, 2%, 33% | HSV: 40°, 2%, 67%. Copy any format from the conversion table above.
What colors go well with #AAA9A7?
The complementary color is HSL(222, 2%, 66%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 2%, 66%) in CSS?
As HSL: color: hsl(42, 2%, 66%); — As HEX: color: #AAA9A7; — As RGB: color: rgb(170, 169, 167); — Tailwind CSS: bg-[hsl(42,2%,66%)] — CSS variable: --color-primary: hsl(42, 2%, 66%);