HSL(321, 5%, 24%)
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(321,5%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 5%, 24%) | color: hsl(321, 5%, 24%) | |
| HEX | #403A3E | color: #403A3E | |
| RGB | rgb(64, 58, 62) | color: rgb(64, 58, 62) | |
| CMYK | cmyk(0%, 9%, 3%, 75%) | — | |
| HSV | hsv(320, 9%, 25%) | — | |
| HWB | hwb(320 23% 75%) | color: hwb(320 23% 75%) | |
| OKLCH | oklch(0.3561 0.0107 337.86) | color: oklch(0.3561 0.0107 337.86) | |
| Lab | lab(25.15 3.47 -1.53) | color: lab(25.15 3.47 -1.53) | |
| LCH | lch(25.15 3.79 336.21) | color: lch(25.15 3.79 336.21) |
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)
#3D3D3D — rgb(61, 61, 61)
Deuteranopia (Green-blind)
#3E3E3D — rgb(62, 62, 61)
Tritanopia (Blue-blind)
#403C3C — rgb(64, 60, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 5%, 24%);
text
color: hsl(321, 5%, 24%);
border
border: 2px solid hsl(321, 5%, 24%);
gradient light
background: linear-gradient(to right, hsl(321, 5%, 44%), hsl(321, 5%, 24%));
gradient dark
background: linear-gradient(to right, hsl(321, 5%, 24%), hsl(321, 5%, 4%))
hex
background-color: #403A3E;
tailwind
bg-[hsl(321,5%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 5%, 24%, 0.4);
css variable
--color-primary: hsl(321, 5%, 24%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(321, 5%, 24%)?
HEX: #403A3E | RGB: rgb(64, 58, 62) | CMYK: 0%, 9%, 3%, 75% | HSV: 320°, 9%, 25%. Copy any format from the conversion table above.
What colors go well with #403A3E?
The complementary color is HSL(141, 5%, 24%). For a triadic harmony, use hues 321°, 81°, and 201°. For analogous combinations, try hues 291° and 351°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(321, 5%, 24%) in CSS?
As HSL: color: hsl(321, 5%, 24%); — As HEX: color: #403A3E; — As RGB: color: rgb(64, 58, 62); — Tailwind CSS: bg-[hsl(321,5%,24%)] — CSS variable: --color-primary: hsl(321, 5%, 24%);