HSL(42, 2%, 63%)
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%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 2%, 63%) | color: hsl(42, 2%, 63%) | |
| HEX | #A3A19F | color: #A3A19F | |
| RGB | rgb(163, 161, 159) | color: rgb(163, 161, 159) | |
| CMYK | cmyk(0%, 1%, 2%, 36%) | — | |
| HSV | hsv(30, 2%, 64%) | — | |
| HWB | hwb(30 63% 36%) | color: hwb(30 63% 36%) | |
| OKLCH | oklch(0.7101 0.0037 67.76) | color: oklch(0.7101 0.0037 67.76) | |
| Lab | lab(66.35 0.34 1.29) | color: lab(66.35 0.34 1.29) | |
| LCH | lch(66.35 1.33 75.23) | color: lch(66.35 1.33 75.23) |
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)
#A2A29F — rgb(162, 162, 159)
Deuteranopia (Green-blind)
#A2A2A0 — rgb(162, 162, 160)
Tritanopia (Blue-blind)
#A3A0A0 — rgb(163, 160, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 2%, 63%);
text
color: hsl(42, 2%, 63%);
border
border: 2px solid hsl(42, 2%, 63%);
gradient light
background: linear-gradient(to right, hsl(42, 2%, 83%), hsl(42, 2%, 63%));
gradient dark
background: linear-gradient(to right, hsl(42, 2%, 63%), hsl(42, 2%, 43%))
hex
background-color: #A3A19F;
tailwind
bg-[hsl(42,2%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 2%, 63%, 0.4);
css variable
--color-primary: hsl(42, 2%, 63%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(42, 2%, 63%)?
HEX: #A3A19F | RGB: rgb(163, 161, 159) | CMYK: 0%, 1%, 2%, 36% | HSV: 30°, 2%, 64%. Copy any format from the conversion table above.
What colors go well with #A3A19F?
The complementary color is HSL(222, 2%, 63%). 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%, 63%) in CSS?
As HSL: color: hsl(42, 2%, 63%); — As HEX: color: #A3A19F; — As RGB: color: rgb(163, 161, 159); — Tailwind CSS: bg-[hsl(42,2%,63%)] — CSS variable: --color-primary: hsl(42, 2%, 63%);