HSL(252, 7%, 29%)
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(252,7%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 7%, 29%) | color: hsl(252, 7%, 29%) | |
| HEX | #47454F | color: #47454F | |
| RGB | rgb(71, 69, 79) | color: rgb(71, 69, 79) | |
| CMYK | cmyk(10%, 13%, 0%, 69%) | — | |
| HSV | hsv(252, 13%, 31%) | — | |
| HWB | hwb(252 27% 69%) | color: hwb(252 27% 69%) | |
| OKLCH | oklch(0.3961 0.0168 294.79) | color: oklch(0.3961 0.0168 294.79) | |
| Lab | lab(29.81 3.13 -5.68) | color: lab(29.81 3.13 -5.68) | |
| LCH | lch(29.81 6.49 298.86) | color: lch(29.81 6.49 298.86) |
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)
#46464D — rgb(70, 70, 77)
Deuteranopia (Green-blind)
#46464C — rgb(70, 70, 76)
Tritanopia (Blue-blind)
#474B4A — rgb(71, 75, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 7%, 29%);
text
color: hsl(252, 7%, 29%);
border
border: 2px solid hsl(252, 7%, 29%);
gradient light
background: linear-gradient(to right, hsl(252, 7%, 49%), hsl(252, 7%, 29%));
gradient dark
background: linear-gradient(to right, hsl(252, 7%, 29%), hsl(252, 7%, 9%))
hex
background-color: #47454F;
tailwind
bg-[hsl(252,7%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 7%, 29%, 0.4);
css variable
--color-primary: hsl(252, 7%, 29%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(252, 7%, 29%)?
HEX: #47454F | RGB: rgb(71, 69, 79) | CMYK: 10%, 13%, 0%, 69% | HSV: 252°, 13%, 31%. Copy any format from the conversion table above.
What colors go well with #47454F?
The complementary color is HSL(72, 7%, 29%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 7%, 29%) in CSS?
As HSL: color: hsl(252, 7%, 29%); — As HEX: color: #47454F; — As RGB: color: rgb(71, 69, 79); — Tailwind CSS: bg-[hsl(252,7%,29%)] — CSS variable: --color-primary: hsl(252, 7%, 29%);