HSL(72, 0%, 25%)
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(72,0%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(72, 0%, 25%) | color: hsl(72, 0%, 25%) | |
| HEX | #404040 | color: #404040 | |
| RGB | rgb(64, 64, 64) | color: rgb(64, 64, 64) | |
| CMYK | cmyk(0%, 0%, 0%, 75%) | — | |
| HSV | hsv(0, 0%, 25%) | — | |
| HWB | hwb(0 25% 75%) | color: hwb(0 25% 75%) | |
| OKLCH | oklch(0.3715 0 89.88) | color: oklch(0.3715 0 89.88) | |
| Lab | lab(27.09 -0 0) | color: lab(27.09 -0 0) | |
| LCH | lch(27.09 0 180) | color: lch(27.09 0 180) |
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)
#404040 — rgb(64, 64, 64)
Deuteranopia (Green-blind)
#404040 — rgb(64, 64, 64)
Tritanopia (Blue-blind)
#404040 — rgb(64, 64, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(72, 0%, 25%);
text
color: hsl(72, 0%, 25%);
border
border: 2px solid hsl(72, 0%, 25%);
gradient light
background: linear-gradient(to right, hsl(72, 0%, 45%), hsl(72, 0%, 25%));
gradient dark
background: linear-gradient(to right, hsl(72, 0%, 25%), hsl(72, 0%, 5%))
hex
background-color: #404040;
tailwind
bg-[hsl(72,0%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(72, 0%, 25%, 0.4);
css variable
--color-primary: hsl(72, 0%, 25%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(72, 0%, 25%)?
HEX: #404040 | RGB: rgb(64, 64, 64) | CMYK: 0%, 0%, 0%, 75% | HSV: 0°, 0%, 25%. Copy any format from the conversion table above.
What colors go well with #404040?
The complementary color is HSL(252, 0%, 25%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(72, 0%, 25%) in CSS?
As HSL: color: hsl(72, 0%, 25%); — As HEX: color: #404040; — As RGB: color: rgb(64, 64, 64); — Tailwind CSS: bg-[hsl(72,0%,25%)] — CSS variable: --color-primary: hsl(72, 0%, 25%);