HSL(2, 7%, 59%)
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(2,7%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 7%, 59%) | color: hsl(2, 7%, 59%) | |
| HEX | #9E908F | color: #9E908F | |
| RGB | rgb(158, 144, 143) | color: rgb(158, 144, 143) | |
| CMYK | cmyk(0%, 9%, 9%, 38%) | — | |
| HSV | hsv(4, 9%, 62%) | — | |
| HWB | hwb(4 56% 38%) | color: hwb(4 56% 38%) | |
| OKLCH | oklch(0.6653 0.0168 22.51) | color: oklch(0.6653 0.0168 22.51) | |
| Lab | lab(60.96 5.02 2.42) | color: lab(60.96 5.02 2.42) | |
| LCH | lch(60.96 5.57 25.74) | color: lch(60.96 5.57 25.74) |
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)
#98988F — rgb(152, 152, 143)
Deuteranopia (Green-blind)
#999A8F — rgb(153, 154, 143)
Tritanopia (Blue-blind)
#9D8F8F — rgb(157, 143, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 7%, 59%);
text
color: hsl(2, 7%, 59%);
border
border: 2px solid hsl(2, 7%, 59%);
gradient light
background: linear-gradient(to right, hsl(2, 7%, 79%), hsl(2, 7%, 59%));
gradient dark
background: linear-gradient(to right, hsl(2, 7%, 59%), hsl(2, 7%, 39%))
hex
background-color: #9E908F;
tailwind
bg-[hsl(2,7%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 7%, 59%, 0.4);
css variable
--color-primary: hsl(2, 7%, 59%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(2, 7%, 59%)?
HEX: #9E908F | RGB: rgb(158, 144, 143) | CMYK: 0%, 9%, 9%, 38% | HSV: 4°, 9%, 62%. Copy any format from the conversion table above.
What colors go well with #9E908F?
The complementary color is HSL(182, 7%, 59%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 7%, 59%) in CSS?
As HSL: color: hsl(2, 7%, 59%); — As HEX: color: #9E908F; — As RGB: color: rgb(158, 144, 143); — Tailwind CSS: bg-[hsl(2,7%,59%)] — CSS variable: --color-primary: hsl(2, 7%, 59%);