HSL(89, 9%, 49%)
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(89,9%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(89, 9%, 49%) | color: hsl(89, 9%, 49%) | |
| HEX | #7D8872 | color: #7D8872 | |
| RGB | rgb(125, 136, 114) | color: rgb(125, 136, 114) | |
| CMYK | cmyk(8%, 0%, 16%, 47%) | — | |
| HSV | hsv(90, 16%, 53%) | — | |
| HWB | hwb(90 45% 47%) | color: hwb(90 45% 47%) | |
| OKLCH | oklch(0.6113 0.0348 129.11) | color: oklch(0.6113 0.0348 129.11) | |
| Lab | lab(55.26 -8.29 10.47) | color: lab(55.26 -8.29 10.47) | |
| LCH | lch(55.26 13.35 128.37) | color: lch(55.26 13.35 128.37) |
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)
#828277 — rgb(130, 130, 119)
Deuteranopia (Green-blind)
#818079 — rgb(129, 128, 121)
Tritanopia (Blue-blind)
#7E7C7C — rgb(126, 124, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(89, 9%, 49%);
text
color: hsl(89, 9%, 49%);
border
border: 2px solid hsl(89, 9%, 49%);
gradient light
background: linear-gradient(to right, hsl(89, 9%, 69%), hsl(89, 9%, 49%));
gradient dark
background: linear-gradient(to right, hsl(89, 9%, 49%), hsl(89, 9%, 29%))
hex
background-color: #7D8872;
tailwind
bg-[hsl(89,9%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(89, 9%, 49%, 0.4);
css variable
--color-primary: hsl(89, 9%, 49%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(89, 9%, 49%)?
HEX: #7D8872 | RGB: rgb(125, 136, 114) | CMYK: 8%, 0%, 16%, 47% | HSV: 90°, 16%, 53%. Copy any format from the conversion table above.
What colors go well with #7D8872?
The complementary color is HSL(269, 9%, 49%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(89, 9%, 49%) in CSS?
As HSL: color: hsl(89, 9%, 49%); — As HEX: color: #7D8872; — As RGB: color: rgb(125, 136, 114); — Tailwind CSS: bg-[hsl(89,9%,49%)] — CSS variable: --color-primary: hsl(89, 9%, 49%);