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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 3.09:1
vs Black 6.79:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Neutral backgrounds Body text Borders Secondary buttons Disabled states

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%);