HSL(22, 2%, 56%)
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(22,2%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 2%, 56%) | color: hsl(22, 2%, 56%) | |
| HEX | #918E8D | color: #918E8D | |
| RGB | rgb(145, 142, 141) | color: rgb(145, 142, 141) | |
| CMYK | cmyk(0%, 2%, 3%, 43%) | — | |
| HSV | hsv(15, 3%, 57%) | — | |
| HWB | hwb(15 55% 43%) | color: hwb(15 55% 43%) | |
| OKLCH | oklch(0.649 0.0039 39.47) | color: oklch(0.649 0.0039 39.47) | |
| Lab | lab(59.24 0.91 0.92) | color: lab(59.24 0.91 0.92) | |
| LCH | lch(59.24 1.29 45.31) | color: lch(59.24 1.29 45.31) |
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)
#90908D — rgb(144, 144, 141)
Deuteranopia (Green-blind)
#90908D — rgb(144, 144, 141)
Tritanopia (Blue-blind)
#918D8D — rgb(145, 141, 141)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 2%, 56%);
text
color: hsl(22, 2%, 56%);
border
border: 2px solid hsl(22, 2%, 56%);
gradient light
background: linear-gradient(to right, hsl(22, 2%, 76%), hsl(22, 2%, 56%));
gradient dark
background: linear-gradient(to right, hsl(22, 2%, 56%), hsl(22, 2%, 36%))
hex
background-color: #918E8D;
tailwind
bg-[hsl(22,2%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 2%, 56%, 0.4);
css variable
--color-primary: hsl(22, 2%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(22, 2%, 56%)?
HEX: #918E8D | RGB: rgb(145, 142, 141) | CMYK: 0%, 2%, 3%, 43% | HSV: 15°, 3%, 57%. Copy any format from the conversion table above.
What colors go well with #918E8D?
The complementary color is HSL(202, 2%, 56%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 2%, 56%) in CSS?
As HSL: color: hsl(22, 2%, 56%); — As HEX: color: #918E8D; — As RGB: color: rgb(145, 142, 141); — Tailwind CSS: bg-[hsl(22,2%,56%)] — CSS variable: --color-primary: hsl(22, 2%, 56%);