HSL(81, 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(81,5%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(81, 5%, 55%) | color: hsl(81, 5%, 55%) | |
| HEX | #8E9287 | color: #8E9287 | |
| RGB | rgb(142, 146, 135) | color: rgb(142, 146, 135) | |
| CMYK | cmyk(3%, 0%, 8%, 43%) | — | |
| HSV | hsv(82, 8%, 57%) | — | |
| HWB | hwb(82 52% 43%) | color: hwb(82 52% 43%) | |
| OKLCH | oklch(0.6534 0.0166 123.19) | color: oklch(0.6534 0.0166 123.19) | |
| Lab | lab(59.94 -3.56 5.32) | color: lab(59.94 -3.56 5.32) | |
| LCH | lch(59.94 6.4 123.79) | color: lch(59.94 6.4 123.79) |
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)
#90908A — rgb(144, 144, 138)
Deuteranopia (Green-blind)
#908F8A — rgb(144, 143, 138)
Tritanopia (Blue-blind)
#8E8C8C — rgb(142, 140, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(81, 5%, 55%);
text
color: hsl(81, 5%, 55%);
border
border: 2px solid hsl(81, 5%, 55%);
gradient light
background: linear-gradient(to right, hsl(81, 5%, 75%), hsl(81, 5%, 55%));
gradient dark
background: linear-gradient(to right, hsl(81, 5%, 55%), hsl(81, 5%, 35%))
hex
background-color: #8E9287;
tailwind
bg-[hsl(81,5%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(81, 5%, 55%, 0.4);
css variable
--color-primary: hsl(81, 5%, 55%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(81, 5%, 55%)?
HEX: #8E9287 | RGB: rgb(142, 146, 135) | CMYK: 3%, 0%, 8%, 43% | HSV: 82°, 8%, 57%. Copy any format from the conversion table above.
What colors go well with #8E9287?
The complementary color is HSL(261, 5%, 55%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(81, 5%, 55%) in CSS?
As HSL: color: hsl(81, 5%, 55%); — As HEX: color: #8E9287; — As RGB: color: rgb(142, 146, 135); — Tailwind CSS: bg-[hsl(81,5%,55%)] — CSS variable: --color-primary: hsl(81, 5%, 55%);