HSL(150, 5%, 55%)
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(150,5%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(150, 5%, 55%) | color: hsl(150, 5%, 55%) | |
| HEX | #87928C | color: #87928C | |
| RGB | rgb(135, 146, 140) | color: rgb(135, 146, 140) | |
| CMYK | cmyk(8%, 0%, 4%, 43%) | — | |
| HSV | hsv(147, 8%, 57%) | — | |
| HWB | hwb(147 52% 43%) | color: hwb(147 52% 43%) | |
| OKLCH | oklch(0.6492 0.0155 162.24) | color: oklch(0.6492 0.0155 162.24) | |
| Lab | lab(59.53 -5.18 1.81) | color: lab(59.53 -5.18 1.81) | |
| LCH | lch(59.53 5.49 160.74) | color: lch(59.53 5.49 160.74) |
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)
#8C8C8D — rgb(140, 140, 141)
Deuteranopia (Green-blind)
#8B8A8E — rgb(139, 138, 142)
Tritanopia (Blue-blind)
#888F8F — rgb(136, 143, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(150, 5%, 55%);
text
color: hsl(150, 5%, 55%);
border
border: 2px solid hsl(150, 5%, 55%);
gradient light
background: linear-gradient(to right, hsl(150, 5%, 75%), hsl(150, 5%, 55%));
gradient dark
background: linear-gradient(to right, hsl(150, 5%, 55%), hsl(150, 5%, 35%))
hex
background-color: #87928C;
tailwind
bg-[hsl(150,5%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(150, 5%, 55%, 0.4);
css variable
--color-primary: hsl(150, 5%, 55%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(150, 5%, 55%)?
HEX: #87928C | RGB: rgb(135, 146, 140) | CMYK: 8%, 0%, 4%, 43% | HSV: 147°, 8%, 57%. Copy any format from the conversion table above.
What colors go well with #87928C?
The complementary color is HSL(330, 5%, 55%). For a triadic harmony, use hues 150°, 270°, and 30°. For analogous combinations, try hues 120° and 180°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(150, 5%, 55%) in CSS?
As HSL: color: hsl(150, 5%, 55%); — As HEX: color: #87928C; — As RGB: color: rgb(135, 146, 140); — Tailwind CSS: bg-[hsl(150,5%,55%)] — CSS variable: --color-primary: hsl(150, 5%, 55%);