HSL(202, 7%, 59%)
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(202,7%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(202, 7%, 59%) | color: hsl(202, 7%, 59%) | |
| HEX | #8F989E | color: #8F989E | |
| RGB | rgb(143, 152, 158) | color: rgb(143, 152, 158) | |
| CMYK | cmyk(9%, 4%, 0%, 38%) | — | |
| HSV | hsv(204, 9%, 62%) | — | |
| HWB | hwb(204 56% 38%) | color: hwb(204 56% 38%) | |
| OKLCH | oklch(0.6743 0.0137 236.73) | color: oklch(0.6743 0.0137 236.73) | |
| Lab | lab(62.31 -1.99 -4.26) | color: lab(62.31 -1.99 -4.26) | |
| LCH | lch(62.31 4.7 244.96) | color: lch(62.31 4.7 244.96) |
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)
#93939D — rgb(147, 147, 157)
Deuteranopia (Green-blind)
#92929C — rgb(146, 146, 156)
Tritanopia (Blue-blind)
#8F9B9B — rgb(143, 155, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(202, 7%, 59%);
text
color: hsl(202, 7%, 59%);
border
border: 2px solid hsl(202, 7%, 59%);
gradient light
background: linear-gradient(to right, hsl(202, 7%, 79%), hsl(202, 7%, 59%));
gradient dark
background: linear-gradient(to right, hsl(202, 7%, 59%), hsl(202, 7%, 39%))
hex
background-color: #8F989E;
tailwind
bg-[hsl(202,7%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(202, 7%, 59%, 0.4);
css variable
--color-primary: hsl(202, 7%, 59%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(202, 7%, 59%)?
HEX: #8F989E | RGB: rgb(143, 152, 158) | CMYK: 9%, 4%, 0%, 38% | HSV: 204°, 9%, 62%. Copy any format from the conversion table above.
What colors go well with #8F989E?
The complementary color is HSL(22, 7%, 59%). For a triadic harmony, use hues 202°, 322°, and 82°. For analogous combinations, try hues 172° and 232°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(202, 7%, 59%) in CSS?
As HSL: color: hsl(202, 7%, 59%); — As HEX: color: #8F989E; — As RGB: color: rgb(143, 152, 158); — Tailwind CSS: bg-[hsl(202,7%,59%)] — CSS variable: --color-primary: hsl(202, 7%, 59%);