HSL(281, 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(281,5%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 5%, 55%) | color: hsl(281, 5%, 55%) | |
| HEX | #8E8792 | color: #8E8792 | |
| RGB | rgb(142, 135, 146) | color: rgb(142, 135, 146) | |
| CMYK | cmyk(3%, 8%, 0%, 43%) | — | |
| HSV | hsv(278, 8%, 57%) | — | |
| HWB | hwb(278 52% 43%) | color: hwb(278 52% 43%) | |
| OKLCH | oklch(0.633 0.0181 313.55) | color: oklch(0.633 0.0181 313.55) | |
| Lab | lab(57.23 4.76 -4.93) | color: lab(57.23 4.76 -4.93) | |
| LCH | lch(57.23 6.85 313.99) | color: lch(57.23 6.85 313.99) |
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)
#8B8B8F — rgb(139, 139, 143)
Deuteranopia (Green-blind)
#8B8C8F — rgb(139, 140, 143)
Tritanopia (Blue-blind)
#8E8D8D — rgb(142, 141, 141)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 5%, 55%);
text
color: hsl(281, 5%, 55%);
border
border: 2px solid hsl(281, 5%, 55%);
gradient light
background: linear-gradient(to right, hsl(281, 5%, 75%), hsl(281, 5%, 55%));
gradient dark
background: linear-gradient(to right, hsl(281, 5%, 55%), hsl(281, 5%, 35%))
hex
background-color: #8E8792;
tailwind
bg-[hsl(281,5%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 5%, 55%, 0.4);
css variable
--color-primary: hsl(281, 5%, 55%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(281, 5%, 55%)?
HEX: #8E8792 | RGB: rgb(142, 135, 146) | CMYK: 3%, 8%, 0%, 43% | HSV: 278°, 8%, 57%. Copy any format from the conversion table above.
What colors go well with #8E8792?
The complementary color is HSL(101, 5%, 55%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 5%, 55%) in CSS?
As HSL: color: hsl(281, 5%, 55%); — As HEX: color: #8E8792; — As RGB: color: rgb(142, 135, 146); — Tailwind CSS: bg-[hsl(281,5%,55%)] — CSS variable: --color-primary: hsl(281, 5%, 55%);