HSL(233, 5%, 33%)
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(233,5%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 5%, 33%) | color: hsl(233, 5%, 33%) | |
| HEX | #505158 | color: #505158 | |
| RGB | rgb(80, 81, 88) | color: rgb(80, 81, 88) | |
| CMYK | cmyk(9%, 8%, 0%, 65%) | — | |
| HSV | hsv(233, 9%, 35%) | — | |
| HWB | hwb(233 32% 65%) | color: hwb(233 32% 65%) | |
| OKLCH | oklch(0.4365 0.0115 279.42) | color: oklch(0.4365 0.0115 279.42) | |
| Lab | lab(34.59 1.17 -4.23) | color: lab(34.59 1.17 -4.23) | |
| LCH | lch(34.59 4.39 285.46) | color: lch(34.59 4.39 285.46) |
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)
#505056 — rgb(80, 80, 86)
Deuteranopia (Green-blind)
#505056 — rgb(80, 80, 86)
Tritanopia (Blue-blind)
#505555 — rgb(80, 85, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 5%, 33%);
text
color: hsl(233, 5%, 33%);
border
border: 2px solid hsl(233, 5%, 33%);
gradient light
background: linear-gradient(to right, hsl(233, 5%, 53%), hsl(233, 5%, 33%));
gradient dark
background: linear-gradient(to right, hsl(233, 5%, 33%), hsl(233, 5%, 13%))
hex
background-color: #505158;
tailwind
bg-[hsl(233,5%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 5%, 33%, 0.4);
css variable
--color-primary: hsl(233, 5%, 33%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(233, 5%, 33%)?
HEX: #505158 | RGB: rgb(80, 81, 88) | CMYK: 9%, 8%, 0%, 65% | HSV: 233°, 9%, 35%. Copy any format from the conversion table above.
What colors go well with #505158?
The complementary color is HSL(53, 5%, 33%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 5%, 33%) in CSS?
As HSL: color: hsl(233, 5%, 33%); — As HEX: color: #505158; — As RGB: color: rgb(80, 81, 88); — Tailwind CSS: bg-[hsl(233,5%,33%)] — CSS variable: --color-primary: hsl(233, 5%, 33%);