HSL(7, 3%, 35%)
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(7,3%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 3%, 35%) | color: hsl(7, 3%, 35%) | |
| HEX | #5C5757 | color: #5C5757 | |
| RGB | rgb(92, 87, 87) | color: rgb(92, 87, 87) | |
| CMYK | cmyk(0%, 5%, 5%, 64%) | — | |
| HSV | hsv(0, 5%, 36%) | — | |
| HWB | hwb(0 34% 64%) | color: hwb(0 34% 64%) | |
| OKLCH | oklch(0.4615 0.0065 17.39) | color: oklch(0.4615 0.0065 17.39) | |
| Lab | lab(37.44 2.02 0.72) | color: lab(37.44 2.02 0.72) | |
| LCH | lch(37.44 2.14 19.62) | color: lch(37.44 2.14 19.62) |
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)
#5A5A57 — rgb(90, 90, 87)
Deuteranopia (Green-blind)
#5A5B57 — rgb(90, 91, 87)
Tritanopia (Blue-blind)
#5C5757 — rgb(92, 87, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 3%, 35%);
text
color: hsl(7, 3%, 35%);
border
border: 2px solid hsl(7, 3%, 35%);
gradient light
background: linear-gradient(to right, hsl(7, 3%, 55%), hsl(7, 3%, 35%));
gradient dark
background: linear-gradient(to right, hsl(7, 3%, 35%), hsl(7, 3%, 15%))
hex
background-color: #5C5757;
tailwind
bg-[hsl(7,3%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 3%, 35%, 0.4);
css variable
--color-primary: hsl(7, 3%, 35%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(7, 3%, 35%)?
HEX: #5C5757 | RGB: rgb(92, 87, 87) | CMYK: 0%, 5%, 5%, 64% | HSV: 0°, 5%, 36%. Copy any format from the conversion table above.
What colors go well with #5C5757?
The complementary color is HSL(187, 3%, 35%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 3%, 35%) in CSS?
As HSL: color: hsl(7, 3%, 35%); — As HEX: color: #5C5757; — As RGB: color: rgb(92, 87, 87); — Tailwind CSS: bg-[hsl(7,3%,35%)] — CSS variable: --color-primary: hsl(7, 3%, 35%);