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
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)
#888892 — rgb(136, 136, 146)
Deuteranopia (Green-blind)
#878592 — rgb(135, 133, 146)
Tritanopia (Blue-blind)
#809292 — rgb(128, 146, 146)
Tints & Shades
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
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%);