HSL(152, 2%, 63%)
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(152,2%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 2%, 63%) | color: hsl(152, 2%, 63%) | |
| HEX | #9FA3A1 | color: #9FA3A1 | |
| RGB | rgb(159, 163, 161) | color: rgb(159, 163, 161) | |
| CMYK | cmyk(2%, 0%, 1%, 36%) | — | |
| HSV | hsv(150, 2%, 64%) | — | |
| HWB | hwb(150 63% 36%) | color: hwb(150 63% 36%) | |
| OKLCH | oklch(0.7116 0.0054 164.94) | color: oklch(0.7116 0.0054 164.94) | |
| Lab | lab(66.63 -1.81 0.54) | color: lab(66.63 -1.81 0.54) | |
| LCH | lch(66.63 1.89 163.39) | color: lch(66.63 1.89 163.39) |
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)
#A1A1A1 — rgb(161, 161, 161)
Deuteranopia (Green-blind)
#A1A0A2 — rgb(161, 160, 162)
Tritanopia (Blue-blind)
#9FA2A2 — rgb(159, 162, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 2%, 63%);
text
color: hsl(152, 2%, 63%);
border
border: 2px solid hsl(152, 2%, 63%);
gradient light
background: linear-gradient(to right, hsl(152, 2%, 83%), hsl(152, 2%, 63%));
gradient dark
background: linear-gradient(to right, hsl(152, 2%, 63%), hsl(152, 2%, 43%))
hex
background-color: #9FA3A1;
tailwind
bg-[hsl(152,2%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 2%, 63%, 0.4);
css variable
--color-primary: hsl(152, 2%, 63%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(152, 2%, 63%)?
HEX: #9FA3A1 | RGB: rgb(159, 163, 161) | CMYK: 2%, 0%, 1%, 36% | HSV: 150°, 2%, 64%. Copy any format from the conversion table above.
What colors go well with #9FA3A1?
The complementary color is HSL(332, 2%, 63%). For a triadic harmony, use hues 152°, 272°, and 32°. For analogous combinations, try hues 122° and 182°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(152, 2%, 63%) in CSS?
As HSL: color: hsl(152, 2%, 63%); — As HEX: color: #9FA3A1; — As RGB: color: rgb(159, 163, 161); — Tailwind CSS: bg-[hsl(152,2%,63%)] — CSS variable: --color-primary: hsl(152, 2%, 63%);