HSL(217, 2%, 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(217,2%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 2%, 33%) | color: hsl(217, 2%, 33%) | |
| HEX | #525456 | color: #525456 | |
| RGB | rgb(82, 84, 86) | color: rgb(82, 84, 86) | |
| CMYK | cmyk(5%, 2%, 0%, 66%) | — | |
| HSV | hsv(210, 5%, 34%) | — | |
| HWB | hwb(210 32% 66%) | color: hwb(210 32% 66%) | |
| OKLCH | oklch(0.4448 0.0042 247.92) | color: oklch(0.4448 0.0042 247.92) | |
| Lab | lab(35.61 -0.36 -1.44) | color: lab(35.61 -0.36 -1.44) | |
| LCH | lch(35.61 1.48 255.96) | color: lch(35.61 1.48 255.96) |
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)
#535356 — rgb(83, 83, 86)
Deuteranopia (Green-blind)
#535355 — rgb(83, 83, 85)
Tritanopia (Blue-blind)
#525555 — rgb(82, 85, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 2%, 33%);
text
color: hsl(217, 2%, 33%);
border
border: 2px solid hsl(217, 2%, 33%);
gradient light
background: linear-gradient(to right, hsl(217, 2%, 53%), hsl(217, 2%, 33%));
gradient dark
background: linear-gradient(to right, hsl(217, 2%, 33%), hsl(217, 2%, 13%))
hex
background-color: #525456;
tailwind
bg-[hsl(217,2%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 2%, 33%, 0.4);
css variable
--color-primary: hsl(217, 2%, 33%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(217, 2%, 33%)?
HEX: #525456 | RGB: rgb(82, 84, 86) | CMYK: 5%, 2%, 0%, 66% | HSV: 210°, 5%, 34%. Copy any format from the conversion table above.
What colors go well with #525456?
The complementary color is HSL(37, 2%, 33%). For a triadic harmony, use hues 217°, 337°, and 97°. For analogous combinations, try hues 187° and 247°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(217, 2%, 33%) in CSS?
As HSL: color: hsl(217, 2%, 33%); — As HEX: color: #525456; — As RGB: color: rgb(82, 84, 86); — Tailwind CSS: bg-[hsl(217,2%,33%)] — CSS variable: --color-primary: hsl(217, 2%, 33%);