HSL(343, 5%, 31%)
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(343,5%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(343, 5%, 31%) | color: hsl(343, 5%, 31%) | |
| HEX | #534B4D | color: #534B4D | |
| RGB | rgb(83, 75, 77) | color: rgb(83, 75, 77) | |
| CMYK | cmyk(0%, 10%, 7%, 67%) | — | |
| HSV | hsv(345, 10%, 33%) | — | |
| HWB | hwb(345 30% 67%) | color: hwb(345 30% 67%) | |
| OKLCH | oklch(0.4214 0.0111 0.6) | color: oklch(0.4214 0.0111 0.6) | |
| Lab | lab(32.72 3.74 0.02) | color: lab(32.72 3.74 0.02) | |
| LCH | lch(32.72 3.74 0.31) | color: lch(32.72 3.74 0.31) |
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)
#504F4D — rgb(80, 79, 77)
Deuteranopia (Green-blind)
#50514C — rgb(80, 81, 76)
Tritanopia (Blue-blind)
#534C4C — rgb(83, 76, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(343, 5%, 31%);
text
color: hsl(343, 5%, 31%);
border
border: 2px solid hsl(343, 5%, 31%);
gradient light
background: linear-gradient(to right, hsl(343, 5%, 51%), hsl(343, 5%, 31%));
gradient dark
background: linear-gradient(to right, hsl(343, 5%, 31%), hsl(343, 5%, 11%))
hex
background-color: #534B4D;
tailwind
bg-[hsl(343,5%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(343, 5%, 31%, 0.4);
css variable
--color-primary: hsl(343, 5%, 31%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(343, 5%, 31%)?
HEX: #534B4D | RGB: rgb(83, 75, 77) | CMYK: 0%, 10%, 7%, 67% | HSV: 345°, 10%, 33%. Copy any format from the conversion table above.
What colors go well with #534B4D?
The complementary color is HSL(163, 5%, 31%). For a triadic harmony, use hues 343°, 103°, and 223°. For analogous combinations, try hues 313° and 13°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(343, 5%, 31%) in CSS?
As HSL: color: hsl(343, 5%, 31%); — As HEX: color: #534B4D; — As RGB: color: rgb(83, 75, 77); — Tailwind CSS: bg-[hsl(343,5%,31%)] — CSS variable: --color-primary: hsl(343, 5%, 31%);