HSL(31, 6%, 45%)
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%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 6%, 45%) | color: hsl(31, 6%, 45%) | |
| HEX | #7A736C | color: #7A736C | |
| RGB | rgb(122, 115, 108) | color: rgb(122, 115, 108) | |
| CMYK | cmyk(0%, 6%, 11%, 52%) | — | |
| HSV | hsv(30, 11%, 48%) | — | |
| HWB | hwb(30 43% 52%) | color: hwb(30 43% 52%) | |
| OKLCH | oklch(0.5597 0.0137 67.54) | color: oklch(0.5597 0.0137 67.54) | |
| Lab | lab(48.86 1.38 4.84) | color: lab(48.86 1.38 4.84) | |
| LCH | lch(48.86 5.03 74.09) | color: lch(48.86 5.03 74.09) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#77776E — rgb(119, 119, 110)
Deuteranopia (Green-blind)
#77786E — rgb(119, 120, 110)
Tritanopia (Blue-blind)
#7A6F6F — rgb(122, 111, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 6%, 45%);
text
color: hsl(31, 6%, 45%);
border
border: 2px solid hsl(31, 6%, 45%);
gradient light
background: linear-gradient(to right, hsl(31, 6%, 65%), hsl(31, 6%, 45%));
gradient dark
background: linear-gradient(to right, hsl(31, 6%, 45%), hsl(31, 6%, 25%))
hex
background-color: #7A736C;
tailwind
bg-[hsl(31,6%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 6%, 45%, 0.4);
css variable
--color-primary: hsl(31, 6%, 45%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(31, 6%, 45%)?
HEX: #7A736C | RGB: rgb(122, 115, 108) | CMYK: 0%, 6%, 11%, 52% | HSV: 30°, 11%, 48%. Copy any format from the conversion table above.
What colors go well with #7A736C?
The complementary color is HSL(211, 6%, 45%). 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%, 45%) in CSS?
As HSL: color: hsl(31, 6%, 45%); — As HEX: color: #7A736C; — As RGB: color: rgb(122, 115, 108); — Tailwind CSS: bg-[hsl(31,6%,45%)] — CSS variable: --color-primary: hsl(31, 6%, 45%);