HSL(7, 2%, 29%)
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(7,2%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 2%, 29%) | color: hsl(7, 2%, 29%) | |
| HEX | #4B4948 | color: #4B4948 | |
| RGB | rgb(75, 73, 72) | color: rgb(75, 73, 72) | |
| CMYK | cmyk(0%, 3%, 4%, 71%) | — | |
| HSV | hsv(20, 4%, 29%) | — | |
| HWB | hwb(20 28% 71%) | color: hwb(20 28% 71%) | |
| OKLCH | oklch(0.407 0.0032 48.66) | color: oklch(0.407 0.0032 48.66) | |
| Lab | lab(31.18 0.61 0.89) | color: lab(31.18 0.61 0.89) | |
| LCH | lch(31.18 1.08 55.57) | color: lch(31.18 1.08 55.57) |
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)
#4A4A48 — rgb(74, 74, 72)
Deuteranopia (Green-blind)
#4A4A48 — rgb(74, 74, 72)
Tritanopia (Blue-blind)
#4B4848 — rgb(75, 72, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 2%, 29%);
text
color: hsl(7, 2%, 29%);
border
border: 2px solid hsl(7, 2%, 29%);
gradient light
background: linear-gradient(to right, hsl(7, 2%, 49%), hsl(7, 2%, 29%));
gradient dark
background: linear-gradient(to right, hsl(7, 2%, 29%), hsl(7, 2%, 9%))
hex
background-color: #4B4948;
tailwind
bg-[hsl(7,2%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 2%, 29%, 0.4);
css variable
--color-primary: hsl(7, 2%, 29%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(7, 2%, 29%)?
HEX: #4B4948 | RGB: rgb(75, 73, 72) | CMYK: 0%, 3%, 4%, 71% | HSV: 20°, 4%, 29%. Copy any format from the conversion table above.
What colors go well with #4B4948?
The complementary color is HSL(187, 2%, 29%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 2%, 29%) in CSS?
As HSL: color: hsl(7, 2%, 29%); — As HEX: color: #4B4948; — As RGB: color: rgb(75, 73, 72); — Tailwind CSS: bg-[hsl(7,2%,29%)] — CSS variable: --color-primary: hsl(7, 2%, 29%);