HSL(187, 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(187,9%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(187, 9%, 54%) | color: hsl(187, 9%, 54%) | |
| HEX | #7F9294 | color: #7F9294 | |
| RGB | rgb(127, 146, 148) | color: rgb(127, 146, 148) | |
| CMYK | cmyk(14%, 1%, 0%, 42%) | — | |
| HSV | hsv(186, 14%, 58%) | — | |
| HWB | hwb(186 50% 42%) | color: hwb(186 50% 42%) | |
| OKLCH | oklch(0.6456 0.022 204.35) | color: oklch(0.6456 0.022 204.35) | |
| Lab | lab(59.17 -6.32 -3.35) | color: lab(59.17 -6.32 -3.35) | |
| LCH | lch(59.17 7.15 207.93) | color: lch(59.17 7.15 207.93) |
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)
#878794 — rgb(135, 135, 148)
Deuteranopia (Green-blind)
#868593 — rgb(134, 133, 147)
Tritanopia (Blue-blind)
#809393 — rgb(128, 147, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(187, 9%, 54%);
text
color: hsl(187, 9%, 54%);
border
border: 2px solid hsl(187, 9%, 54%);
gradient light
background: linear-gradient(to right, hsl(187, 9%, 74%), hsl(187, 9%, 54%));
gradient dark
background: linear-gradient(to right, hsl(187, 9%, 54%), hsl(187, 9%, 34%))
hex
background-color: #7F9294;
tailwind
bg-[hsl(187,9%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(187, 9%, 54%, 0.4);
css variable
--color-primary: hsl(187, 9%, 54%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(187, 9%, 54%)?
HEX: #7F9294 | RGB: rgb(127, 146, 148) | CMYK: 14%, 1%, 0%, 42% | HSV: 186°, 14%, 58%. Copy any format from the conversion table above.
What colors go well with #7F9294?
The complementary color is HSL(7, 9%, 54%). For a triadic harmony, use hues 187°, 307°, and 67°. For analogous combinations, try hues 157° and 217°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(187, 9%, 54%) in CSS?
As HSL: color: hsl(187, 9%, 54%); — As HEX: color: #7F9294; — As RGB: color: rgb(127, 146, 148); — Tailwind CSS: bg-[hsl(187,9%,54%)] — CSS variable: --color-primary: hsl(187, 9%, 54%);