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