HSL(340, 3%, 58%)
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(340,3%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 3%, 58%) | color: hsl(340, 3%, 58%) | |
| HEX | #979193 | color: #979193 | |
| RGB | rgb(151, 145, 147) | color: rgb(151, 145, 147) | |
| CMYK | cmyk(0%, 4%, 3%, 41%) | — | |
| HSV | hsv(340, 4%, 59%) | — | |
| HWB | hwb(340 57% 41%) | color: hwb(340 57% 41%) | |
| OKLCH | oklch(0.6624 0.0076 354.92) | color: oklch(0.6624 0.0076 354.92) | |
| Lab | lab(60.73 2.58 -0.27) | color: lab(60.73 2.58 -0.27) | |
| LCH | lch(60.73 2.59 354.03) | color: lch(60.73 2.59 354.03) |
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)
#949493 — rgb(148, 148, 147)
Deuteranopia (Green-blind)
#959592 — rgb(149, 149, 146)
Tritanopia (Blue-blind)
#979292 — rgb(151, 146, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 3%, 58%);
text
color: hsl(340, 3%, 58%);
border
border: 2px solid hsl(340, 3%, 58%);
gradient light
background: linear-gradient(to right, hsl(340, 3%, 78%), hsl(340, 3%, 58%));
gradient dark
background: linear-gradient(to right, hsl(340, 3%, 58%), hsl(340, 3%, 38%))
hex
background-color: #979193;
tailwind
bg-[hsl(340,3%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 3%, 58%, 0.4);
css variable
--color-primary: hsl(340, 3%, 58%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(340, 3%, 58%)?
HEX: #979193 | RGB: rgb(151, 145, 147) | CMYK: 0%, 4%, 3%, 41% | HSV: 340°, 4%, 59%. Copy any format from the conversion table above.
What colors go well with #979193?
The complementary color is HSL(160, 3%, 58%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 3%, 58%) in CSS?
As HSL: color: hsl(340, 3%, 58%); — As HEX: color: #979193; — As RGB: color: rgb(151, 145, 147); — Tailwind CSS: bg-[hsl(340,3%,58%)] — CSS variable: --color-primary: hsl(340, 3%, 58%);