HSL(172, 9%, 54%)

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(172,9%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(172, 9%, 54%) color: hsl(172, 9%, 54%)
HEX #7F9491 color: #7F9491
RGB rgb(127, 148, 145) color: rgb(127, 148, 145)
CMYK cmyk(14%, 0%, 2%, 42%)
HSV hsv(171, 14%, 58%)
HWB hwb(171 50% 42%) color: hwb(171 50% 42%)
OKLCH oklch(0.6491 0.0243 186.13) color: oklch(0.6491 0.0243 186.13)
Lab lab(59.65 -8.07 -0.93) color: lab(59.65 -8.07 -0.93)
LCH lch(59.65 8.12 186.57) color: lch(59.65 8.12 186.57)

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.21:1
vs Black 6.55: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)

#888892 — rgb(136, 136, 146)

Deuteranopia (Green-blind)

#878592 — rgb(135, 133, 146)

Tritanopia (Blue-blind)

#809292 — rgb(128, 146, 146)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(172, 9%, 54%);

text

color: hsl(172, 9%, 54%);

border

border: 2px solid hsl(172, 9%, 54%);

gradient light

background: linear-gradient(to right, hsl(172, 9%, 74%), hsl(172, 9%, 54%));

gradient dark

background: linear-gradient(to right, hsl(172, 9%, 54%), hsl(172, 9%, 34%))

hex

background-color: #7F9491;

tailwind

bg-[hsl(172,9%,54%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(172, 9%, 54%, 0.4);

css variable

--color-primary: hsl(172, 9%, 54%);

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(172, 9%, 54%)?

HEX: #7F9491 | RGB: rgb(127, 148, 145) | CMYK: 14%, 0%, 2%, 42% | HSV: 171°, 14%, 58%. Copy any format from the conversion table above.

What colors go well with #7F9491?

The complementary color is HSL(352, 9%, 54%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(172, 9%, 54%) in CSS?

As HSL: color: hsl(172, 9%, 54%); — As HEX: color: #7F9491; — As RGB: color: rgb(127, 148, 145); — Tailwind CSS: bg-[hsl(172,9%,54%)] — CSS variable: --color-primary: hsl(172, 9%, 54%);