HSL(31, 6%, 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(31,6%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 6%, 63%) | color: hsl(31, 6%, 63%) | |
| HEX | #A6A19B | color: #A6A19B | |
| RGB | rgb(166, 161, 155) | color: rgb(166, 161, 155) | |
| CMYK | cmyk(0%, 3%, 7%, 35%) | — | |
| HSV | hsv(33, 7%, 65%) | — | |
| HWB | hwb(33 60% 35%) | color: hwb(33 60% 35%) | |
| OKLCH | oklch(0.7114 0.0104 72.62) | color: oklch(0.7114 0.0104 72.62) | |
| Lab | lab(66.49 0.71 3.76) | color: lab(66.49 0.71 3.76) | |
| LCH | lch(66.49 3.83 79.31) | color: lch(66.49 3.83 79.31) |
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)
#A4A49C — rgb(164, 164, 156)
Deuteranopia (Green-blind)
#A4A59D — rgb(164, 165, 157)
Tritanopia (Blue-blind)
#A69E9E — rgb(166, 158, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 6%, 63%);
text
color: hsl(31, 6%, 63%);
border
border: 2px solid hsl(31, 6%, 63%);
gradient light
background: linear-gradient(to right, hsl(31, 6%, 83%), hsl(31, 6%, 63%));
gradient dark
background: linear-gradient(to right, hsl(31, 6%, 63%), hsl(31, 6%, 43%))
hex
background-color: #A6A19B;
tailwind
bg-[hsl(31,6%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 6%, 63%, 0.4);
css variable
--color-primary: hsl(31, 6%, 63%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(31, 6%, 63%)?
HEX: #A6A19B | RGB: rgb(166, 161, 155) | CMYK: 0%, 3%, 7%, 35% | HSV: 33°, 7%, 65%. Copy any format from the conversion table above.
What colors go well with #A6A19B?
The complementary color is HSL(211, 6%, 63%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(31, 6%, 63%) in CSS?
As HSL: color: hsl(31, 6%, 63%); — As HEX: color: #A6A19B; — As RGB: color: rgb(166, 161, 155); — Tailwind CSS: bg-[hsl(31,6%,63%)] — CSS variable: --color-primary: hsl(31, 6%, 63%);