HSL(22, 3%, 46%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(22,3%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 3%, 46%) | color: hsl(22, 3%, 46%) | |
| HEX | #797472 | color: #797472 | |
| RGB | rgb(121, 116, 114) | color: rgb(121, 116, 114) | |
| CMYK | cmyk(0%, 4%, 6%, 53%) | — | |
| HSV | hsv(17, 6%, 47%) | — | |
| HWB | hwb(17 44% 53%) | color: hwb(17 44% 53%) | |
| OKLCH | oklch(0.5628 0.0069 43.28) | color: oklch(0.5628 0.0069 43.28) | |
| Lab | lab(49.22 1.53 1.79) | color: lab(49.22 1.53 1.79) | |
| LCH | lch(49.22 2.35 49.48) | color: lch(49.22 2.35 49.48) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#777772 — rgb(119, 119, 114)
Deuteranopia (Green-blind)
#777873 — rgb(119, 120, 115)
Tritanopia (Blue-blind)
#797373 — rgb(121, 115, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 3%, 46%);
text
color: hsl(22, 3%, 46%);
border
border: 2px solid hsl(22, 3%, 46%);
gradient light
background: linear-gradient(to right, hsl(22, 3%, 66%), hsl(22, 3%, 46%));
gradient dark
background: linear-gradient(to right, hsl(22, 3%, 46%), hsl(22, 3%, 26%))
hex
background-color: #797472;
tailwind
bg-[hsl(22,3%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 3%, 46%, 0.4);
css variable
--color-primary: hsl(22, 3%, 46%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(22, 3%, 46%)?
HEX: #797472 | RGB: rgb(121, 116, 114) | CMYK: 0%, 4%, 6%, 53% | HSV: 17°, 6%, 47%. Copy any format from the conversion table above.
What colors go well with #797472?
The complementary color is HSL(202, 3%, 46%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 3%, 46%) in CSS?
As HSL: color: hsl(22, 3%, 46%); — As HEX: color: #797472; — As RGB: color: rgb(121, 116, 114); — Tailwind CSS: bg-[hsl(22,3%,46%)] — CSS variable: --color-primary: hsl(22, 3%, 46%);