HSL(87, 5%, 47%)
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(87,5%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 5%, 47%) | color: hsl(87, 5%, 47%) | |
| HEX | #787E72 | color: #787E72 | |
| RGB | rgb(120, 126, 114) | color: rgb(120, 126, 114) | |
| CMYK | cmyk(5%, 0%, 10%, 51%) | — | |
| HSV | hsv(90, 10%, 49%) | — | |
| HWB | hwb(90 44% 51%) | color: hwb(90 44% 51%) | |
| OKLCH | oklch(0.5844 0.0193 128.83) | color: oklch(0.5844 0.0193 128.83) | |
| Lab | lab(51.98 -4.61 5.76) | color: lab(51.98 -4.61 5.76) | |
| LCH | lch(51.98 7.38 128.67) | color: lch(51.98 7.38 128.67) |
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)
#7B7B75 — rgb(123, 123, 117)
Deuteranopia (Green-blind)
#7A7A76 — rgb(122, 122, 118)
Tritanopia (Blue-blind)
#787778 — rgb(120, 119, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 5%, 47%);
text
color: hsl(87, 5%, 47%);
border
border: 2px solid hsl(87, 5%, 47%);
gradient light
background: linear-gradient(to right, hsl(87, 5%, 67%), hsl(87, 5%, 47%));
gradient dark
background: linear-gradient(to right, hsl(87, 5%, 47%), hsl(87, 5%, 27%))
hex
background-color: #787E72;
tailwind
bg-[hsl(87,5%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 5%, 47%, 0.4);
css variable
--color-primary: hsl(87, 5%, 47%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(87, 5%, 47%)?
HEX: #787E72 | RGB: rgb(120, 126, 114) | CMYK: 5%, 0%, 10%, 51% | HSV: 90°, 10%, 49%. Copy any format from the conversion table above.
What colors go well with #787E72?
The complementary color is HSL(267, 5%, 47%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 5%, 47%) in CSS?
As HSL: color: hsl(87, 5%, 47%); — As HEX: color: #787E72; — As RGB: color: rgb(120, 126, 114); — Tailwind CSS: bg-[hsl(87,5%,47%)] — CSS variable: --color-primary: hsl(87, 5%, 47%);