HSL(203, 8%, 64%)
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(203,8%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(203, 8%, 64%) | color: hsl(203, 8%, 64%) | |
| HEX | #9CA5AB | color: #9CA5AB | |
| RGB | rgb(156, 165, 171) | color: rgb(156, 165, 171) | |
| CMYK | cmyk(9%, 4%, 0%, 33%) | — | |
| HSV | hsv(204, 9%, 67%) | — | |
| HWB | hwb(204 61% 33%) | color: hwb(204 61% 33%) | |
| OKLCH | oklch(0.7166 0.0135 236.71) | color: oklch(0.7166 0.0135 236.71) | |
| Lab | lab(67.22 -1.97 -4.2) | color: lab(67.22 -1.97 -4.2) | |
| LCH | lch(67.22 4.64 244.87) | color: lch(67.22 4.64 244.87) |
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)
#A0A0AA — rgb(160, 160, 170)
Deuteranopia (Green-blind)
#9F9FA9 — rgb(159, 159, 169)
Tritanopia (Blue-blind)
#9CA8A8 — rgb(156, 168, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(203, 8%, 64%);
text
color: hsl(203, 8%, 64%);
border
border: 2px solid hsl(203, 8%, 64%);
gradient light
background: linear-gradient(to right, hsl(203, 8%, 84%), hsl(203, 8%, 64%));
gradient dark
background: linear-gradient(to right, hsl(203, 8%, 64%), hsl(203, 8%, 44%))
hex
background-color: #9CA5AB;
tailwind
bg-[hsl(203,8%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(203, 8%, 64%, 0.4);
css variable
--color-primary: hsl(203, 8%, 64%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(203, 8%, 64%)?
HEX: #9CA5AB | RGB: rgb(156, 165, 171) | CMYK: 9%, 4%, 0%, 33% | HSV: 204°, 9%, 67%. Copy any format from the conversion table above.
What colors go well with #9CA5AB?
The complementary color is HSL(23, 8%, 64%). For a triadic harmony, use hues 203°, 323°, and 83°. For analogous combinations, try hues 173° and 233°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(203, 8%, 64%) in CSS?
As HSL: color: hsl(203, 8%, 64%); — As HEX: color: #9CA5AB; — As RGB: color: rgb(156, 165, 171); — Tailwind CSS: bg-[hsl(203,8%,64%)] — CSS variable: --color-primary: hsl(203, 8%, 64%);