HSL(320, 7%, 20%)
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(320,7%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(320, 7%, 20%) | color: hsl(320, 7%, 20%) | |
| HEX | #372F34 | color: #372F34 | |
| RGB | rgb(55, 47, 52) | color: rgb(55, 47, 52) | |
| CMYK | cmyk(0%, 15%, 5%, 78%) | — | |
| HSV | hsv(323, 15%, 22%) | — | |
| HWB | hwb(323 19% 78%) | color: hwb(323 19% 78%) | |
| OKLCH | oklch(0.3157 0.0143 340.05) | color: oklch(0.3157 0.0143 340.05) | |
| Lab | lab(20.41 4.69 -1.86) | color: lab(20.41 4.69 -1.86) | |
| LCH | lch(20.41 5.05 338.37) | color: lch(20.41 5.05 338.37) |
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)
#343333 — rgb(52, 51, 51)
Deuteranopia (Green-blind)
#343533 — rgb(52, 53, 51)
Tritanopia (Blue-blind)
#373232 — rgb(55, 50, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(320, 7%, 20%);
text
color: hsl(320, 7%, 20%);
border
border: 2px solid hsl(320, 7%, 20%);
gradient light
background: linear-gradient(to right, hsl(320, 7%, 40%), hsl(320, 7%, 20%));
gradient dark
background: linear-gradient(to right, hsl(320, 7%, 20%), hsl(320, 7%, 0%))
hex
background-color: #372F34;
tailwind
bg-[hsl(320,7%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(320, 7%, 20%, 0.4);
css variable
--color-primary: hsl(320, 7%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(320, 7%, 20%)?
HEX: #372F34 | RGB: rgb(55, 47, 52) | CMYK: 0%, 15%, 5%, 78% | HSV: 323°, 15%, 22%. Copy any format from the conversion table above.
What colors go well with #372F34?
The complementary color is HSL(140, 7%, 20%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(320, 7%, 20%) in CSS?
As HSL: color: hsl(320, 7%, 20%); — As HEX: color: #372F34; — As RGB: color: rgb(55, 47, 52); — Tailwind CSS: bg-[hsl(320,7%,20%)] — CSS variable: --color-primary: hsl(320, 7%, 20%);