HSL(182, 7%, 40%)
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(182,7%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(182, 7%, 40%) | color: hsl(182, 7%, 40%) | |
| HEX | #5F6D6D | color: #5F6D6D | |
| RGB | rgb(95, 109, 109) | color: rgb(95, 109, 109) | |
| CMYK | cmyk(13%, 0%, 0%, 57%) | — | |
| HSV | hsv(180, 13%, 43%) | — | |
| HWB | hwb(180 37% 57%) | color: hwb(180 37% 57%) | |
| OKLCH | oklch(0.5231 0.0169 196.65) | color: oklch(0.5231 0.0169 196.65) | |
| Lab | lab(44.91 -5.25 -1.78) | color: lab(44.91 -5.25 -1.78) | |
| LCH | lch(44.91 5.54 198.73) | color: lch(44.91 5.54 198.73) |
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)
#65656D — rgb(101, 101, 109)
Deuteranopia (Green-blind)
#64636D — rgb(100, 99, 109)
Tritanopia (Blue-blind)
#606D6D — rgb(96, 109, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(182, 7%, 40%);
text
color: hsl(182, 7%, 40%);
border
border: 2px solid hsl(182, 7%, 40%);
gradient light
background: linear-gradient(to right, hsl(182, 7%, 60%), hsl(182, 7%, 40%));
gradient dark
background: linear-gradient(to right, hsl(182, 7%, 40%), hsl(182, 7%, 20%))
hex
background-color: #5F6D6D;
tailwind
bg-[hsl(182,7%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(182, 7%, 40%, 0.4);
css variable
--color-primary: hsl(182, 7%, 40%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(182, 7%, 40%)?
HEX: #5F6D6D | RGB: rgb(95, 109, 109) | CMYK: 13%, 0%, 0%, 57% | HSV: 180°, 13%, 43%. Copy any format from the conversion table above.
What colors go well with #5F6D6D?
The complementary color is HSL(2, 7%, 40%). For a triadic harmony, use hues 182°, 302°, and 62°. For analogous combinations, try hues 152° and 212°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(182, 7%, 40%) in CSS?
As HSL: color: hsl(182, 7%, 40%); — As HEX: color: #5F6D6D; — As RGB: color: rgb(95, 109, 109); — Tailwind CSS: bg-[hsl(182,7%,40%)] — CSS variable: --color-primary: hsl(182, 7%, 40%);