HSL(342, 2%, 53%)
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(342,2%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 2%, 53%) | color: hsl(342, 2%, 53%) | |
| HEX | #8A8586 | color: #8A8586 | |
| RGB | rgb(138, 133, 134) | color: rgb(138, 133, 134) | |
| CMYK | cmyk(0%, 4%, 3%, 46%) | — | |
| HSV | hsv(348, 4%, 54%) | — | |
| HWB | hwb(348 52% 46%) | color: hwb(348 52% 46%) | |
| OKLCH | oklch(0.6214 0.0062 3.45) | color: oklch(0.6214 0.0062 3.45) | |
| Lab | lab(55.99 2.06 0.13) | color: lab(55.99 2.06 0.13) | |
| LCH | lch(55.99 2.06 3.61) | color: lch(55.99 2.06 3.61) |
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)
#888886 — rgb(136, 136, 134)
Deuteranopia (Green-blind)
#888986 — rgb(136, 137, 134)
Tritanopia (Blue-blind)
#8A8686 — rgb(138, 134, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 2%, 53%);
text
color: hsl(342, 2%, 53%);
border
border: 2px solid hsl(342, 2%, 53%);
gradient light
background: linear-gradient(to right, hsl(342, 2%, 73%), hsl(342, 2%, 53%));
gradient dark
background: linear-gradient(to right, hsl(342, 2%, 53%), hsl(342, 2%, 33%))
hex
background-color: #8A8586;
tailwind
bg-[hsl(342,2%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 2%, 53%, 0.4);
css variable
--color-primary: hsl(342, 2%, 53%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(342, 2%, 53%)?
HEX: #8A8586 | RGB: rgb(138, 133, 134) | CMYK: 0%, 4%, 3%, 46% | HSV: 348°, 4%, 54%. Copy any format from the conversion table above.
What colors go well with #8A8586?
The complementary color is HSL(162, 2%, 53%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 2%, 53%) in CSS?
As HSL: color: hsl(342, 2%, 53%); — As HEX: color: #8A8586; — As RGB: color: rgb(138, 133, 134); — Tailwind CSS: bg-[hsl(342,2%,53%)] — CSS variable: --color-primary: hsl(342, 2%, 53%);