HSL(52, 5%, 34%)
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(52,5%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 5%, 34%) | color: hsl(52, 5%, 34%) | |
| HEX | #5B5A52 | color: #5B5A52 | |
| RGB | rgb(91, 90, 82) | color: rgb(91, 90, 82) | |
| CMYK | cmyk(0%, 1%, 10%, 64%) | — | |
| HSV | hsv(53, 10%, 36%) | — | |
| HWB | hwb(53 32% 64%) | color: hwb(53 32% 64%) | |
| OKLCH | oklch(0.466 0.0127 101.06) | color: oklch(0.466 0.0127 101.06) | |
| Lab | lab(38.1 -1.21 4.76) | color: lab(38.1 -1.21 4.76) | |
| LCH | lch(38.1 4.91 104.26) | color: lch(38.1 4.91 104.26) |
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)
#5B5B54 — rgb(91, 91, 84)
Deuteranopia (Green-blind)
#5B5B54 — rgb(91, 91, 84)
Tritanopia (Blue-blind)
#5B5556 — rgb(91, 85, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 5%, 34%);
text
color: hsl(52, 5%, 34%);
border
border: 2px solid hsl(52, 5%, 34%);
gradient light
background: linear-gradient(to right, hsl(52, 5%, 54%), hsl(52, 5%, 34%));
gradient dark
background: linear-gradient(to right, hsl(52, 5%, 34%), hsl(52, 5%, 14%))
hex
background-color: #5B5A52;
tailwind
bg-[hsl(52,5%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 5%, 34%, 0.4);
css variable
--color-primary: hsl(52, 5%, 34%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(52, 5%, 34%)?
HEX: #5B5A52 | RGB: rgb(91, 90, 82) | CMYK: 0%, 1%, 10%, 64% | HSV: 53°, 10%, 36%. Copy any format from the conversion table above.
What colors go well with #5B5A52?
The complementary color is HSL(232, 5%, 34%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 5%, 34%) in CSS?
As HSL: color: hsl(52, 5%, 34%); — As HEX: color: #5B5A52; — As RGB: color: rgb(91, 90, 82); — Tailwind CSS: bg-[hsl(52,5%,34%)] — CSS variable: --color-primary: hsl(52, 5%, 34%);