HSL(317, 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(317,2%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 2%, 56%) | color: hsl(317, 2%, 56%) | |
| HEX | #918D90 | color: #918D90 | |
| RGB | rgb(145, 141, 144) | color: rgb(145, 141, 144) | |
| CMYK | cmyk(0%, 3%, 1%, 43%) | — | |
| HSV | hsv(315, 3%, 57%) | — | |
| HWB | hwb(315 55% 43%) | color: hwb(315 55% 43%) | |
| OKLCH | oklch(0.6478 0.0064 334.04) | color: oklch(0.6478 0.0064 334.04) | |
| Lab | lab(59.05 2.05 -1.07) | color: lab(59.05 2.05 -1.07) | |
| LCH | lch(59.05 2.31 332.44) | color: lch(59.05 2.31 332.44) |
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)
#8F8F8F — rgb(143, 143, 143)
Deuteranopia (Green-blind)
#90908F — rgb(144, 144, 143)
Tritanopia (Blue-blind)
#918F8F — rgb(145, 143, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 2%, 56%);
text
color: hsl(317, 2%, 56%);
border
border: 2px solid hsl(317, 2%, 56%);
gradient light
background: linear-gradient(to right, hsl(317, 2%, 76%), hsl(317, 2%, 56%));
gradient dark
background: linear-gradient(to right, hsl(317, 2%, 56%), hsl(317, 2%, 36%))
hex
background-color: #918D90;
tailwind
bg-[hsl(317,2%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 2%, 56%, 0.4);
css variable
--color-primary: hsl(317, 2%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(317, 2%, 56%)?
HEX: #918D90 | RGB: rgb(145, 141, 144) | CMYK: 0%, 3%, 1%, 43% | HSV: 315°, 3%, 57%. Copy any format from the conversion table above.
What colors go well with #918D90?
The complementary color is HSL(137, 2%, 56%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(317, 2%, 56%) in CSS?
As HSL: color: hsl(317, 2%, 56%); — As HEX: color: #918D90; — As RGB: color: rgb(145, 141, 144); — Tailwind CSS: bg-[hsl(317,2%,56%)] — CSS variable: --color-primary: hsl(317, 2%, 56%);