HSL(42, 3%, 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,3%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 3%, 66%) | color: hsl(42, 3%, 66%) | |
| HEX | #ABA9A6 | color: #ABA9A6 | |
| RGB | rgb(171, 169, 166) | color: rgb(171, 169, 166) | |
| CMYK | cmyk(0%, 1%, 3%, 33%) | — | |
| HSV | hsv(36, 3%, 67%) | — | |
| HWB | hwb(36 65% 33%) | color: hwb(36 65% 33%) | |
| OKLCH | oklch(0.7356 0.0049 78.29) | color: oklch(0.7356 0.0049 78.29) | |
| Lab | lab(69.32 0.16 1.8) | color: lab(69.32 0.16 1.8) | |
| LCH | lch(69.32 1.81 84.92) | color: lch(69.32 1.81 84.92) |
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)
#AAAAA7 — rgb(170, 170, 167)
Tritanopia (Blue-blind)
#ABA7A7 — rgb(171, 167, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 3%, 66%);
text
color: hsl(42, 3%, 66%);
border
border: 2px solid hsl(42, 3%, 66%);
gradient light
background: linear-gradient(to right, hsl(42, 3%, 86%), hsl(42, 3%, 66%));
gradient dark
background: linear-gradient(to right, hsl(42, 3%, 66%), hsl(42, 3%, 46%))
hex
background-color: #ABA9A6;
tailwind
bg-[hsl(42,3%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 3%, 66%, 0.4);
css variable
--color-primary: hsl(42, 3%, 66%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(42, 3%, 66%)?
HEX: #ABA9A6 | RGB: rgb(171, 169, 166) | CMYK: 0%, 1%, 3%, 33% | HSV: 36°, 3%, 67%. Copy any format from the conversion table above.
What colors go well with #ABA9A6?
The complementary color is HSL(222, 3%, 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, 3%, 66%) in CSS?
As HSL: color: hsl(42, 3%, 66%); — As HEX: color: #ABA9A6; — As RGB: color: rgb(171, 169, 166); — Tailwind CSS: bg-[hsl(42,3%,66%)] — CSS variable: --color-primary: hsl(42, 3%, 66%);