HSL(31, 6%, 61%)
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%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 6%, 61%) | color: hsl(31, 6%, 61%) | |
| HEX | #A29C96 | color: #A29C96 | |
| RGB | rgb(162, 156, 150) | color: rgb(162, 156, 150) | |
| CMYK | cmyk(0%, 4%, 7%, 36%) | — | |
| HSV | hsv(30, 7%, 64%) | — | |
| HWB | hwb(30 60% 36%) | color: hwb(30 60% 36%) | |
| OKLCH | oklch(0.696 0.0112 67.64) | color: oklch(0.696 0.0112 67.64) | |
| Lab | lab(64.69 1.08 3.91) | color: lab(64.69 1.08 3.91) | |
| LCH | lch(64.69 4.06 74.56) | color: lch(64.69 4.06 74.56) |
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)
#9F9F97 — rgb(159, 159, 151)
Deuteranopia (Green-blind)
#A0A098 — rgb(160, 160, 152)
Tritanopia (Blue-blind)
#A29999 — rgb(162, 153, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 6%, 61%);
text
color: hsl(31, 6%, 61%);
border
border: 2px solid hsl(31, 6%, 61%);
gradient light
background: linear-gradient(to right, hsl(31, 6%, 81%), hsl(31, 6%, 61%));
gradient dark
background: linear-gradient(to right, hsl(31, 6%, 61%), hsl(31, 6%, 41%))
hex
background-color: #A29C96;
tailwind
bg-[hsl(31,6%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 6%, 61%, 0.4);
css variable
--color-primary: hsl(31, 6%, 61%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(31, 6%, 61%)?
HEX: #A29C96 | RGB: rgb(162, 156, 150) | CMYK: 0%, 4%, 7%, 36% | HSV: 30°, 7%, 64%. Copy any format from the conversion table above.
What colors go well with #A29C96?
The complementary color is HSL(211, 6%, 61%). 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%, 61%) in CSS?
As HSL: color: hsl(31, 6%, 61%); — As HEX: color: #A29C96; — As RGB: color: rgb(162, 156, 150); — Tailwind CSS: bg-[hsl(31,6%,61%)] — CSS variable: --color-primary: hsl(31, 6%, 61%);