HSL(22, 3%, 21%)
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%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 3%, 21%) | color: hsl(22, 3%, 21%) | |
| HEX | #373534 | color: #373534 | |
| RGB | rgb(55, 53, 52) | color: rgb(55, 53, 52) | |
| CMYK | cmyk(0%, 4%, 5%, 78%) | — | |
| HSV | hsv(20, 5%, 22%) | — | |
| HWB | hwb(20 21% 78%) | color: hwb(20 21% 78%) | |
| OKLCH | oklch(0.3306 0.0033 48.63) | color: oklch(0.3306 0.0033 48.63) | |
| Lab | lab(22.32 0.65 0.94) | color: lab(22.32 0.65 0.94) | |
| LCH | lch(22.32 1.14 55.34) | color: lch(22.32 1.14 55.34) |
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)
#363634 — rgb(54, 54, 52)
Deuteranopia (Green-blind)
#363634 — rgb(54, 54, 52)
Tritanopia (Blue-blind)
#373434 — rgb(55, 52, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 3%, 21%);
text
color: hsl(22, 3%, 21%);
border
border: 2px solid hsl(22, 3%, 21%);
gradient light
background: linear-gradient(to right, hsl(22, 3%, 41%), hsl(22, 3%, 21%));
gradient dark
background: linear-gradient(to right, hsl(22, 3%, 21%), hsl(22, 3%, 1%))
hex
background-color: #373534;
tailwind
bg-[hsl(22,3%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 3%, 21%, 0.4);
css variable
--color-primary: hsl(22, 3%, 21%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(22, 3%, 21%)?
HEX: #373534 | RGB: rgb(55, 53, 52) | CMYK: 0%, 4%, 5%, 78% | HSV: 20°, 5%, 22%. Copy any format from the conversion table above.
What colors go well with #373534?
The complementary color is HSL(202, 3%, 21%). 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%, 21%) in CSS?
As HSL: color: hsl(22, 3%, 21%); — As HEX: color: #373534; — As RGB: color: rgb(55, 53, 52); — Tailwind CSS: bg-[hsl(22,3%,21%)] — CSS variable: --color-primary: hsl(22, 3%, 21%);