HSL(126, 2%, 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(126,2%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 2%, 57%) | color: hsl(126, 2%, 57%) | |
| HEX | #8F9490 | color: #8F9490 | |
| RGB | rgb(143, 148, 144) | color: rgb(143, 148, 144) | |
| CMYK | cmyk(3%, 0%, 3%, 42%) | — | |
| HSV | hsv(132, 3%, 58%) | — | |
| HWB | hwb(132 56% 42%) | color: hwb(132 56% 42%) | |
| OKLCH | oklch(0.6612 0.0082 151.82) | color: oklch(0.6612 0.0082 151.82) | |
| Lab | lab(60.81 -2.6 1.48) | color: lab(60.81 -2.6 1.48) | |
| LCH | lch(60.81 2.99 150.35) | color: lch(60.81 2.99 150.35) |
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)
#919191 — rgb(145, 145, 145)
Deuteranopia (Green-blind)
#919191 — rgb(145, 145, 145)
Tritanopia (Blue-blind)
#8F9292 — rgb(143, 146, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 2%, 57%);
text
color: hsl(126, 2%, 57%);
border
border: 2px solid hsl(126, 2%, 57%);
gradient light
background: linear-gradient(to right, hsl(126, 2%, 77%), hsl(126, 2%, 57%));
gradient dark
background: linear-gradient(to right, hsl(126, 2%, 57%), hsl(126, 2%, 37%))
hex
background-color: #8F9490;
tailwind
bg-[hsl(126,2%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 2%, 57%, 0.4);
css variable
--color-primary: hsl(126, 2%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(126, 2%, 57%)?
HEX: #8F9490 | RGB: rgb(143, 148, 144) | CMYK: 3%, 0%, 3%, 42% | HSV: 132°, 3%, 58%. Copy any format from the conversion table above.
What colors go well with #8F9490?
The complementary color is HSL(306, 2%, 57%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 2%, 57%) in CSS?
As HSL: color: hsl(126, 2%, 57%); — As HEX: color: #8F9490; — As RGB: color: rgb(143, 148, 144); — Tailwind CSS: bg-[hsl(126,2%,57%)] — CSS variable: --color-primary: hsl(126, 2%, 57%);