HSL(113, 8%, 20%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(113,8%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(113, 8%, 20%) | color: hsl(113, 8%, 20%) | |
| HEX | #30372F | color: #30372F | |
| RGB | rgb(48, 55, 47) | color: rgb(48, 55, 47) | |
| CMYK | cmyk(13%, 0%, 15%, 78%) | — | |
| HSV | hsv(113, 15%, 22%) | — | |
| HWB | hwb(113 19% 78%) | color: hwb(113 19% 78%) | |
| OKLCH | oklch(0.3274 0.0168 141.69) | color: oklch(0.3274 0.0168 141.69) | |
| Lab | lab(22.18 -4.86 4.02) | color: lab(22.18 -4.86 4.02) | |
| LCH | lch(22.18 6.31 140.4) | color: lch(22.18 6.31 140.4) |
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)
#333331 — rgb(51, 51, 49)
Deuteranopia (Green-blind)
#333231 — rgb(51, 50, 49)
Tritanopia (Blue-blind)
#303233 — rgb(48, 50, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(113, 8%, 20%);
text
color: hsl(113, 8%, 20%);
border
border: 2px solid hsl(113, 8%, 20%);
gradient light
background: linear-gradient(to right, hsl(113, 8%, 40%), hsl(113, 8%, 20%));
gradient dark
background: linear-gradient(to right, hsl(113, 8%, 20%), hsl(113, 8%, 0%))
hex
background-color: #30372F;
tailwind
bg-[hsl(113,8%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(113, 8%, 20%, 0.4);
css variable
--color-primary: hsl(113, 8%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(113, 8%, 20%)?
HEX: #30372F | RGB: rgb(48, 55, 47) | CMYK: 13%, 0%, 15%, 78% | HSV: 113°, 15%, 22%. Copy any format from the conversion table above.
What colors go well with #30372F?
The complementary color is HSL(293, 8%, 20%). For a triadic harmony, use hues 113°, 233°, and 353°. For analogous combinations, try hues 83° and 143°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(113, 8%, 20%) in CSS?
As HSL: color: hsl(113, 8%, 20%); — As HEX: color: #30372F; — As RGB: color: rgb(48, 55, 47); — Tailwind CSS: bg-[hsl(113,8%,20%)] — CSS variable: --color-primary: hsl(113, 8%, 20%);