HSL(232, 5%, 57%)
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(232,5%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 5%, 57%) | color: hsl(232, 5%, 57%) | |
| HEX | #8C8D97 | color: #8C8D97 | |
| RGB | rgb(140, 141, 151) | color: rgb(140, 141, 151) | |
| CMYK | cmyk(7%, 7%, 0%, 41%) | — | |
| HSV | hsv(235, 7%, 59%) | — | |
| HWB | hwb(235 55% 41%) | color: hwb(235 55% 41%) | |
| OKLCH | oklch(0.6458 0.0148 281.41) | color: oklch(0.6458 0.0148 281.41) | |
| Lab | lab(58.84 1.66 -5.42) | color: lab(58.84 1.66 -5.42) | |
| LCH | lch(58.84 5.67 287.03) | color: lch(58.84 5.67 287.03) |
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)
#8C8C95 — rgb(140, 140, 149)
Deuteranopia (Green-blind)
#8C8C94 — rgb(140, 140, 148)
Tritanopia (Blue-blind)
#8C9392 — rgb(140, 147, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 5%, 57%);
text
color: hsl(232, 5%, 57%);
border
border: 2px solid hsl(232, 5%, 57%);
gradient light
background: linear-gradient(to right, hsl(232, 5%, 77%), hsl(232, 5%, 57%));
gradient dark
background: linear-gradient(to right, hsl(232, 5%, 57%), hsl(232, 5%, 37%))
hex
background-color: #8C8D97;
tailwind
bg-[hsl(232,5%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 5%, 57%, 0.4);
css variable
--color-primary: hsl(232, 5%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(232, 5%, 57%)?
HEX: #8C8D97 | RGB: rgb(140, 141, 151) | CMYK: 7%, 7%, 0%, 41% | HSV: 235°, 7%, 59%. Copy any format from the conversion table above.
What colors go well with #8C8D97?
The complementary color is HSL(52, 5%, 57%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 5%, 57%) in CSS?
As HSL: color: hsl(232, 5%, 57%); — As HEX: color: #8C8D97; — As RGB: color: rgb(140, 141, 151); — Tailwind CSS: bg-[hsl(232,5%,57%)] — CSS variable: --color-primary: hsl(232, 5%, 57%);