HSL(338, 5%, 55%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(338,5%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 5%, 55%) | color: hsl(338, 5%, 55%) | |
| HEX | #92878B | color: #92878B | |
| RGB | rgb(146, 135, 139) | color: rgb(146, 135, 139) | |
| CMYK | cmyk(0%, 8%, 5%, 43%) | — | |
| HSV | hsv(338, 8%, 57%) | — | |
| HWB | hwb(338 52% 43%) | color: hwb(338 52% 43%) | |
| OKLCH | oklch(0.6343 0.0144 353.4) | color: oklch(0.6343 0.0144 353.4) | |
| Lab | lab(57.37 4.87 -0.65) | color: lab(57.37 4.87 -0.65) | |
| LCH | lch(57.37 4.91 352.4) | color: lch(57.37 4.91 352.4) |
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)
#8D8D8A — rgb(141, 141, 138)
Deuteranopia (Green-blind)
#8E8F8A — rgb(142, 143, 138)
Tritanopia (Blue-blind)
#918989 — rgb(145, 137, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 5%, 55%);
text
color: hsl(338, 5%, 55%);
border
border: 2px solid hsl(338, 5%, 55%);
gradient light
background: linear-gradient(to right, hsl(338, 5%, 75%), hsl(338, 5%, 55%));
gradient dark
background: linear-gradient(to right, hsl(338, 5%, 55%), hsl(338, 5%, 35%))
hex
background-color: #92878B;
tailwind
bg-[hsl(338,5%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 5%, 55%, 0.4);
css variable
--color-primary: hsl(338, 5%, 55%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(338, 5%, 55%)?
HEX: #92878B | RGB: rgb(146, 135, 139) | CMYK: 0%, 8%, 5%, 43% | HSV: 338°, 8%, 57%. Copy any format from the conversion table above.
What colors go well with #92878B?
The complementary color is HSL(158, 5%, 55%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 5%, 55%) in CSS?
As HSL: color: hsl(338, 5%, 55%); — As HEX: color: #92878B; — As RGB: color: rgb(146, 135, 139); — Tailwind CSS: bg-[hsl(338,5%,55%)] — CSS variable: --color-primary: hsl(338, 5%, 55%);