HSL(161, 4%, 56%)
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(161,4%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(161, 4%, 56%) | color: hsl(161, 4%, 56%) | |
| HEX | #8A9390 | color: #8A9390 | |
| RGB | rgb(138, 147, 144) | color: rgb(138, 147, 144) | |
| CMYK | cmyk(6%, 0%, 2%, 42%) | — | |
| HSV | hsv(160, 6%, 58%) | — | |
| HWB | hwb(160 55% 42%) | color: hwb(160 55% 42%) | |
| OKLCH | oklch(0.655 0.0113 174.08) | color: oklch(0.655 0.0113 174.08) | |
| Lab | lab(60.14 -3.85 0.46) | color: lab(60.14 -3.85 0.46) | |
| LCH | lch(60.14 3.88 173.19) | color: lch(60.14 3.88 173.19) |
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)
#8E8E91 — rgb(142, 142, 145)
Deuteranopia (Green-blind)
#8D8D91 — rgb(141, 141, 145)
Tritanopia (Blue-blind)
#8A9191 — rgb(138, 145, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(161, 4%, 56%);
text
color: hsl(161, 4%, 56%);
border
border: 2px solid hsl(161, 4%, 56%);
gradient light
background: linear-gradient(to right, hsl(161, 4%, 76%), hsl(161, 4%, 56%));
gradient dark
background: linear-gradient(to right, hsl(161, 4%, 56%), hsl(161, 4%, 36%))
hex
background-color: #8A9390;
tailwind
bg-[hsl(161,4%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(161, 4%, 56%, 0.4);
css variable
--color-primary: hsl(161, 4%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(161, 4%, 56%)?
HEX: #8A9390 | RGB: rgb(138, 147, 144) | CMYK: 6%, 0%, 2%, 42% | HSV: 160°, 6%, 58%. Copy any format from the conversion table above.
What colors go well with #8A9390?
The complementary color is HSL(341, 4%, 56%). For a triadic harmony, use hues 161°, 281°, and 41°. For analogous combinations, try hues 131° and 191°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(161, 4%, 56%) in CSS?
As HSL: color: hsl(161, 4%, 56%); — As HEX: color: #8A9390; — As RGB: color: rgb(138, 147, 144); — Tailwind CSS: bg-[hsl(161,4%,56%)] — CSS variable: --color-primary: hsl(161, 4%, 56%);