HSL(164, 9%, 35%)
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(164,9%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(164, 9%, 35%) | color: hsl(164, 9%, 35%) | |
| HEX | #51615D | color: #51615D | |
| RGB | rgb(81, 97, 93) | color: rgb(81, 97, 93) | |
| CMYK | cmyk(16%, 0%, 4%, 62%) | — | |
| HSV | hsv(165, 16%, 38%) | — | |
| HWB | hwb(165 32% 62%) | color: hwb(165 32% 62%) | |
| OKLCH | oklch(0.4778 0.0206 178.58) | color: oklch(0.4778 0.0206 178.58) | |
| Lab | lab(39.73 -7.01 0.23) | color: lab(39.73 -7.01 0.23) | |
| LCH | lch(39.73 7.01 178.12) | color: lch(39.73 7.01 178.12) |
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)
#58585E — rgb(88, 88, 94)
Deuteranopia (Green-blind)
#57565E — rgb(87, 86, 94)
Tritanopia (Blue-blind)
#525F5F — rgb(82, 95, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(164, 9%, 35%);
text
color: hsl(164, 9%, 35%);
border
border: 2px solid hsl(164, 9%, 35%);
gradient light
background: linear-gradient(to right, hsl(164, 9%, 55%), hsl(164, 9%, 35%));
gradient dark
background: linear-gradient(to right, hsl(164, 9%, 35%), hsl(164, 9%, 15%))
hex
background-color: #51615D;
tailwind
bg-[hsl(164,9%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(164, 9%, 35%, 0.4);
css variable
--color-primary: hsl(164, 9%, 35%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(164, 9%, 35%)?
HEX: #51615D | RGB: rgb(81, 97, 93) | CMYK: 16%, 0%, 4%, 62% | HSV: 165°, 16%, 38%. Copy any format from the conversion table above.
What colors go well with #51615D?
The complementary color is HSL(344, 9%, 35%). For a triadic harmony, use hues 164°, 284°, and 44°. For analogous combinations, try hues 134° and 194°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(164, 9%, 35%) in CSS?
As HSL: color: hsl(164, 9%, 35%); — As HEX: color: #51615D; — As RGB: color: rgb(81, 97, 93); — Tailwind CSS: bg-[hsl(164,9%,35%)] — CSS variable: --color-primary: hsl(164, 9%, 35%);