HSL(197, 2%, 51%)
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(197,2%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 2%, 51%) | color: hsl(197, 2%, 51%) | |
| HEX | #808385 | color: #808385 | |
| RGB | rgb(128, 131, 133) | color: rgb(128, 131, 133) | |
| CMYK | cmyk(4%, 2%, 0%, 48%) | — | |
| HSV | hsv(204, 4%, 52%) | — | |
| HWB | hwb(204 50% 48%) | color: hwb(204 50% 48%) | |
| OKLCH | oklch(0.6081 0.0047 236.55) | color: oklch(0.6081 0.0047 236.55) | |
| Lab | lab(54.57 -0.71 -1.47) | color: lab(54.57 -0.71 -1.47) | |
| LCH | lch(54.57 1.63 244.22) | color: lch(54.57 1.63 244.22) |
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)
#818185 — rgb(129, 129, 133)
Deuteranopia (Green-blind)
#818184 — rgb(129, 129, 132)
Tritanopia (Blue-blind)
#808484 — rgb(128, 132, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 2%, 51%);
text
color: hsl(197, 2%, 51%);
border
border: 2px solid hsl(197, 2%, 51%);
gradient light
background: linear-gradient(to right, hsl(197, 2%, 71%), hsl(197, 2%, 51%));
gradient dark
background: linear-gradient(to right, hsl(197, 2%, 51%), hsl(197, 2%, 31%))
hex
background-color: #808385;
tailwind
bg-[hsl(197,2%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 2%, 51%, 0.4);
css variable
--color-primary: hsl(197, 2%, 51%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(197, 2%, 51%)?
HEX: #808385 | RGB: rgb(128, 131, 133) | CMYK: 4%, 2%, 0%, 48% | HSV: 204°, 4%, 52%. Copy any format from the conversion table above.
What colors go well with #808385?
The complementary color is HSL(17, 2%, 51%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(197, 2%, 51%) in CSS?
As HSL: color: hsl(197, 2%, 51%); — As HEX: color: #808385; — As RGB: color: rgb(128, 131, 133); — Tailwind CSS: bg-[hsl(197,2%,51%)] — CSS variable: --color-primary: hsl(197, 2%, 51%);