HSL(251, 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(251,4%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 4%, 56%) | color: hsl(251, 4%, 56%) | |
| HEX | #8C8A93 | color: #8C8A93 | |
| RGB | rgb(140, 138, 147) | color: rgb(140, 138, 147) | |
| CMYK | cmyk(5%, 6%, 0%, 42%) | — | |
| HSV | hsv(253, 6%, 58%) | — | |
| HWB | hwb(253 55% 42%) | color: hwb(253 55% 42%) | |
| OKLCH | oklch(0.638 0.0135 296.2) | color: oklch(0.638 0.0135 296.2) | |
| Lab | lab(57.9 2.53 -4.52) | color: lab(57.9 2.53 -4.52) | |
| LCH | lch(57.9 5.18 299.24) | color: lch(57.9 5.18 299.24) |
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)
#8B8B91 — rgb(139, 139, 145)
Deuteranopia (Green-blind)
#8B8B90 — rgb(139, 139, 144)
Tritanopia (Blue-blind)
#8C8F8F — rgb(140, 143, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 4%, 56%);
text
color: hsl(251, 4%, 56%);
border
border: 2px solid hsl(251, 4%, 56%);
gradient light
background: linear-gradient(to right, hsl(251, 4%, 76%), hsl(251, 4%, 56%));
gradient dark
background: linear-gradient(to right, hsl(251, 4%, 56%), hsl(251, 4%, 36%))
hex
background-color: #8C8A93;
tailwind
bg-[hsl(251,4%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 4%, 56%, 0.4);
css variable
--color-primary: hsl(251, 4%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(251, 4%, 56%)?
HEX: #8C8A93 | RGB: rgb(140, 138, 147) | CMYK: 5%, 6%, 0%, 42% | HSV: 253°, 6%, 58%. Copy any format from the conversion table above.
What colors go well with #8C8A93?
The complementary color is HSL(71, 4%, 56%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 4%, 56%) in CSS?
As HSL: color: hsl(251, 4%, 56%); — As HEX: color: #8C8A93; — As RGB: color: rgb(140, 138, 147); — Tailwind CSS: bg-[hsl(251,4%,56%)] — CSS variable: --color-primary: hsl(251, 4%, 56%);