HSL(7, 6%, 57%)
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,6%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 6%, 57%) | color: hsl(7, 6%, 57%) | |
| HEX | #988C8B | color: #988C8B | |
| RGB | rgb(152, 140, 139) | color: rgb(152, 140, 139) | |
| CMYK | cmyk(0%, 8%, 9%, 40%) | — | |
| HSV | hsv(5, 9%, 60%) | — | |
| HWB | hwb(5 55% 40%) | color: hwb(5 55% 40%) | |
| OKLCH | oklch(0.6503 0.0145 23.29) | color: oklch(0.6503 0.0145 23.29) | |
| Lab | lab(59.25 4.29 2.15) | color: lab(59.25 4.29 2.15) | |
| LCH | lch(59.25 4.8 26.62) | color: lch(59.25 4.8 26.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#93938B — rgb(147, 147, 139)
Deuteranopia (Green-blind)
#94948B — rgb(148, 148, 139)
Tritanopia (Blue-blind)
#978B8B — rgb(151, 139, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 6%, 57%);
text
color: hsl(7, 6%, 57%);
border
border: 2px solid hsl(7, 6%, 57%);
gradient light
background: linear-gradient(to right, hsl(7, 6%, 77%), hsl(7, 6%, 57%));
gradient dark
background: linear-gradient(to right, hsl(7, 6%, 57%), hsl(7, 6%, 37%))
hex
background-color: #988C8B;
tailwind
bg-[hsl(7,6%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 6%, 57%, 0.4);
css variable
--color-primary: hsl(7, 6%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(7, 6%, 57%)?
HEX: #988C8B | RGB: rgb(152, 140, 139) | CMYK: 0%, 8%, 9%, 40% | HSV: 5°, 9%, 60%. Copy any format from the conversion table above.
What colors go well with #988C8B?
The complementary color is HSL(187, 6%, 57%). 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, 6%, 57%) in CSS?
As HSL: color: hsl(7, 6%, 57%); — As HEX: color: #988C8B; — As RGB: color: rgb(152, 140, 139); — Tailwind CSS: bg-[hsl(7,6%,57%)] — CSS variable: --color-primary: hsl(7, 6%, 57%);