HSL(358, 8%, 58%)
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(358,8%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(358, 8%, 58%) | color: hsl(358, 8%, 58%) | |
| HEX | #9C8B8C | color: #9C8B8C | |
| RGB | rgb(156, 139, 140) | color: rgb(156, 139, 140) | |
| CMYK | cmyk(0%, 11%, 10%, 39%) | — | |
| HSV | hsv(356, 11%, 61%) | — | |
| HWB | hwb(356 54% 39%) | color: hwb(356 54% 39%) | |
| OKLCH | oklch(0.6522 0.0205 13.63) | color: oklch(0.6522 0.0205 13.63) | |
| Lab | lab(59.37 6.54 1.8) | color: lab(59.37 6.54 1.8) | |
| LCH | lch(59.37 6.78 15.39) | color: lch(59.37 6.78 15.39) |
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)
#95948C — rgb(149, 148, 140)
Deuteranopia (Green-blind)
#96978C — rgb(150, 151, 140)
Tritanopia (Blue-blind)
#9B8C8C — rgb(155, 140, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(358, 8%, 58%);
text
color: hsl(358, 8%, 58%);
border
border: 2px solid hsl(358, 8%, 58%);
gradient light
background: linear-gradient(to right, hsl(358, 8%, 78%), hsl(358, 8%, 58%));
gradient dark
background: linear-gradient(to right, hsl(358, 8%, 58%), hsl(358, 8%, 38%))
hex
background-color: #9C8B8C;
tailwind
bg-[hsl(358,8%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(358, 8%, 58%, 0.4);
css variable
--color-primary: hsl(358, 8%, 58%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(358, 8%, 58%)?
HEX: #9C8B8C | RGB: rgb(156, 139, 140) | CMYK: 0%, 11%, 10%, 39% | HSV: 356°, 11%, 61%. Copy any format from the conversion table above.
What colors go well with #9C8B8C?
The complementary color is HSL(178, 8%, 58%). For a triadic harmony, use hues 358°, 118°, and 238°. For analogous combinations, try hues 328° and 28°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(358, 8%, 58%) in CSS?
As HSL: color: hsl(358, 8%, 58%); — As HEX: color: #9C8B8C; — As RGB: color: rgb(156, 139, 140); — Tailwind CSS: bg-[hsl(358,8%,58%)] — CSS variable: --color-primary: hsl(358, 8%, 58%);