HSL(101, 6%, 36%)
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(101,6%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(101, 6%, 36%) | color: hsl(101, 6%, 36%) | |
| HEX | #5A6156 | color: #5A6156 | |
| RGB | rgb(90, 97, 86) | color: rgb(90, 97, 86) | |
| CMYK | cmyk(7%, 0%, 11%, 62%) | — | |
| HSV | hsv(98, 11%, 38%) | — | |
| HWB | hwb(98 34% 62%) | color: hwb(98 34% 62%) | |
| OKLCH | oklch(0.483 0.0193 133.97) | color: oklch(0.483 0.0193 133.97) | |
| Lab | lab(40.24 -5.03 5.35) | color: lab(40.24 -5.03 5.35) | |
| LCH | lch(40.24 7.34 133.23) | color: lch(40.24 7.34 133.23) |
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)
#5D5D59 — rgb(93, 93, 89)
Deuteranopia (Green-blind)
#5D5C59 — rgb(93, 92, 89)
Tritanopia (Blue-blind)
#5A5B5B — rgb(90, 91, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(101, 6%, 36%);
text
color: hsl(101, 6%, 36%);
border
border: 2px solid hsl(101, 6%, 36%);
gradient light
background: linear-gradient(to right, hsl(101, 6%, 56%), hsl(101, 6%, 36%));
gradient dark
background: linear-gradient(to right, hsl(101, 6%, 36%), hsl(101, 6%, 16%))
hex
background-color: #5A6156;
tailwind
bg-[hsl(101,6%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(101, 6%, 36%, 0.4);
css variable
--color-primary: hsl(101, 6%, 36%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(101, 6%, 36%)?
HEX: #5A6156 | RGB: rgb(90, 97, 86) | CMYK: 7%, 0%, 11%, 62% | HSV: 98°, 11%, 38%. Copy any format from the conversion table above.
What colors go well with #5A6156?
The complementary color is HSL(281, 6%, 36%). For a triadic harmony, use hues 101°, 221°, and 341°. For analogous combinations, try hues 71° and 131°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(101, 6%, 36%) in CSS?
As HSL: color: hsl(101, 6%, 36%); — As HEX: color: #5A6156; — As RGB: color: rgb(90, 97, 86); — Tailwind CSS: bg-[hsl(101,6%,36%)] — CSS variable: --color-primary: hsl(101, 6%, 36%);