HSL(342, 7%, 55%)
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,7%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 7%, 55%) | color: hsl(342, 7%, 55%) | |
| HEX | #948489 | color: #948489 | |
| RGB | rgb(148, 132, 137) | color: rgb(148, 132, 137) | |
| CMYK | cmyk(0%, 11%, 7%, 42%) | — | |
| HSV | hsv(341, 11%, 58%) | — | |
| HWB | hwb(341 52% 42%) | color: hwb(341 52% 42%) | |
| OKLCH | oklch(0.6293 0.0206 356.8) | color: oklch(0.6293 0.0206 356.8) | |
| Lab | lab(56.69 6.96 -0.47) | color: lab(56.69 6.96 -0.47) | |
| LCH | lch(56.69 6.98 356.14) | color: lch(56.69 6.98 356.14) |
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)
#8D8D88 — rgb(141, 141, 136)
Deuteranopia (Green-blind)
#8E8F88 — rgb(142, 143, 136)
Tritanopia (Blue-blind)
#938787 — rgb(147, 135, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 7%, 55%);
text
color: hsl(342, 7%, 55%);
border
border: 2px solid hsl(342, 7%, 55%);
gradient light
background: linear-gradient(to right, hsl(342, 7%, 75%), hsl(342, 7%, 55%));
gradient dark
background: linear-gradient(to right, hsl(342, 7%, 55%), hsl(342, 7%, 35%))
hex
background-color: #948489;
tailwind
bg-[hsl(342,7%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 7%, 55%, 0.4);
css variable
--color-primary: hsl(342, 7%, 55%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(342, 7%, 55%)?
HEX: #948489 | RGB: rgb(148, 132, 137) | CMYK: 0%, 11%, 7%, 42% | HSV: 341°, 11%, 58%. Copy any format from the conversion table above.
What colors go well with #948489?
The complementary color is HSL(162, 7%, 55%). 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, 7%, 55%) in CSS?
As HSL: color: hsl(342, 7%, 55%); — As HEX: color: #948489; — As RGB: color: rgb(148, 132, 137); — Tailwind CSS: bg-[hsl(342,7%,55%)] — CSS variable: --color-primary: hsl(342, 7%, 55%);