HSL(175, 3%, 62%)
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(175,3%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(175, 3%, 62%) | color: hsl(175, 3%, 62%) | |
| HEX | #9BA1A1 | color: #9BA1A1 | |
| RGB | rgb(155, 161, 161) | color: rgb(155, 161, 161) | |
| CMYK | cmyk(4%, 0%, 0%, 37%) | — | |
| HSV | hsv(180, 4%, 63%) | — | |
| HWB | hwb(180 60% 37%) | color: hwb(180 60% 37%) | |
| OKLCH | oklch(0.7041 0.0069 197) | color: oklch(0.7041 0.0069 197) | |
| Lab | lab(65.77 -2.14 -0.74) | color: lab(65.77 -2.14 -0.74) | |
| LCH | lch(65.77 2.26 199.08) | color: lch(65.77 2.26 199.08) |
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)
#9E9EA1 — rgb(158, 158, 161)
Deuteranopia (Green-blind)
#9D9DA1 — rgb(157, 157, 161)
Tritanopia (Blue-blind)
#9BA1A1 — rgb(155, 161, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(175, 3%, 62%);
text
color: hsl(175, 3%, 62%);
border
border: 2px solid hsl(175, 3%, 62%);
gradient light
background: linear-gradient(to right, hsl(175, 3%, 82%), hsl(175, 3%, 62%));
gradient dark
background: linear-gradient(to right, hsl(175, 3%, 62%), hsl(175, 3%, 42%))
hex
background-color: #9BA1A1;
tailwind
bg-[hsl(175,3%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(175, 3%, 62%, 0.4);
css variable
--color-primary: hsl(175, 3%, 62%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(175, 3%, 62%)?
HEX: #9BA1A1 | RGB: rgb(155, 161, 161) | CMYK: 4%, 0%, 0%, 37% | HSV: 180°, 4%, 63%. Copy any format from the conversion table above.
What colors go well with #9BA1A1?
The complementary color is HSL(355, 3%, 62%). For a triadic harmony, use hues 175°, 295°, and 55°. For analogous combinations, try hues 145° and 205°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(175, 3%, 62%) in CSS?
As HSL: color: hsl(175, 3%, 62%); — As HEX: color: #9BA1A1; — As RGB: color: rgb(155, 161, 161); — Tailwind CSS: bg-[hsl(175,3%,62%)] — CSS variable: --color-primary: hsl(175, 3%, 62%);