HSL(97, 2%, 46%)
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(97,2%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 2%, 46%) | color: hsl(97, 2%, 46%) | |
| HEX | #757873 | color: #757873 | |
| RGB | rgb(117, 120, 115) | color: rgb(117, 120, 115) | |
| CMYK | cmyk(3%, 0%, 4%, 53%) | — | |
| HSV | hsv(96, 4%, 47%) | — | |
| HWB | hwb(96 45% 53%) | color: hwb(96 45% 53%) | |
| OKLCH | oklch(0.5685 0.0084 132.47) | color: oklch(0.5685 0.0084 132.47) | |
| Lab | lab(50.04 -2.14 2.35) | color: lab(50.04 -2.14 2.35) | |
| LCH | lch(50.04 3.18 132.32) | color: lch(50.04 3.18 132.32) |
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)
#767674 — rgb(118, 118, 116)
Deuteranopia (Green-blind)
#767675 — rgb(118, 118, 117)
Tritanopia (Blue-blind)
#757575 — rgb(117, 117, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 2%, 46%);
text
color: hsl(97, 2%, 46%);
border
border: 2px solid hsl(97, 2%, 46%);
gradient light
background: linear-gradient(to right, hsl(97, 2%, 66%), hsl(97, 2%, 46%));
gradient dark
background: linear-gradient(to right, hsl(97, 2%, 46%), hsl(97, 2%, 26%))
hex
background-color: #757873;
tailwind
bg-[hsl(97,2%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 2%, 46%, 0.4);
css variable
--color-primary: hsl(97, 2%, 46%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(97, 2%, 46%)?
HEX: #757873 | RGB: rgb(117, 120, 115) | CMYK: 3%, 0%, 4%, 53% | HSV: 96°, 4%, 47%. Copy any format from the conversion table above.
What colors go well with #757873?
The complementary color is HSL(277, 2%, 46%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(97, 2%, 46%) in CSS?
As HSL: color: hsl(97, 2%, 46%); — As HEX: color: #757873; — As RGB: color: rgb(117, 120, 115); — Tailwind CSS: bg-[hsl(97,2%,46%)] — CSS variable: --color-primary: hsl(97, 2%, 46%);