HSL(83, 5%, 31%)
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(83,5%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(83, 5%, 31%) | color: hsl(83, 5%, 31%) | |
| HEX | #50534B | color: #50534B | |
| RGB | rgb(80, 83, 75) | color: rgb(80, 83, 75) | |
| CMYK | cmyk(4%, 0%, 10%, 67%) | — | |
| HSV | hsv(83, 10%, 33%) | — | |
| HWB | hwb(83 30% 67%) | color: hwb(83 30% 67%) | |
| OKLCH | oklch(0.4369 0.0134 123.75) | color: oklch(0.4369 0.0134 123.75) | |
| Lab | lab(34.8 -2.9 4.27) | color: lab(34.8 -2.9 4.27) | |
| LCH | lch(34.8 5.16 124.18) | color: lch(34.8 5.16 124.18) |
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)
#51514D — rgb(81, 81, 77)
Deuteranopia (Green-blind)
#51514D — rgb(81, 81, 77)
Tritanopia (Blue-blind)
#504E4F — rgb(80, 78, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(83, 5%, 31%);
text
color: hsl(83, 5%, 31%);
border
border: 2px solid hsl(83, 5%, 31%);
gradient light
background: linear-gradient(to right, hsl(83, 5%, 51%), hsl(83, 5%, 31%));
gradient dark
background: linear-gradient(to right, hsl(83, 5%, 31%), hsl(83, 5%, 11%))
hex
background-color: #50534B;
tailwind
bg-[hsl(83,5%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(83, 5%, 31%, 0.4);
css variable
--color-primary: hsl(83, 5%, 31%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(83, 5%, 31%)?
HEX: #50534B | RGB: rgb(80, 83, 75) | CMYK: 4%, 0%, 10%, 67% | HSV: 83°, 10%, 33%. Copy any format from the conversion table above.
What colors go well with #50534B?
The complementary color is HSL(263, 5%, 31%). For a triadic harmony, use hues 83°, 203°, and 323°. For analogous combinations, try hues 53° and 113°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(83, 5%, 31%) in CSS?
As HSL: color: hsl(83, 5%, 31%); — As HEX: color: #50534B; — As RGB: color: rgb(80, 83, 75); — Tailwind CSS: bg-[hsl(83,5%,31%)] — CSS variable: --color-primary: hsl(83, 5%, 31%);