HSL(258, 6%, 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(258,6%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 6%, 33%) | color: hsl(258, 6%, 33%) | |
| HEX | #524F59 | color: #524F59 | |
| RGB | rgb(82, 79, 89) | color: rgb(82, 79, 89) | |
| CMYK | cmyk(8%, 11%, 0%, 65%) | — | |
| HSV | hsv(258, 11%, 35%) | — | |
| HWB | hwb(258 31% 65%) | color: hwb(258 31% 65%) | |
| OKLCH | oklch(0.4341 0.0167 299.39) | color: oklch(0.4341 0.0167 299.39) | |
| Lab | lab(34.2 3.44 -5.41) | color: lab(34.2 3.44 -5.41) | |
| LCH | lch(34.2 6.41 302.45) | color: lch(34.2 6.41 302.45) |
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)
#515157 — rgb(81, 81, 87)
Deuteranopia (Green-blind)
#515156 — rgb(81, 81, 86)
Tritanopia (Blue-blind)
#525554 — rgb(82, 85, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 6%, 33%);
text
color: hsl(258, 6%, 33%);
border
border: 2px solid hsl(258, 6%, 33%);
gradient light
background: linear-gradient(to right, hsl(258, 6%, 53%), hsl(258, 6%, 33%));
gradient dark
background: linear-gradient(to right, hsl(258, 6%, 33%), hsl(258, 6%, 13%))
hex
background-color: #524F59;
tailwind
bg-[hsl(258,6%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 6%, 33%, 0.4);
css variable
--color-primary: hsl(258, 6%, 33%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(258, 6%, 33%)?
HEX: #524F59 | RGB: rgb(82, 79, 89) | CMYK: 8%, 11%, 0%, 65% | HSV: 258°, 11%, 35%. Copy any format from the conversion table above.
What colors go well with #524F59?
The complementary color is HSL(78, 6%, 33%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 6%, 33%) in CSS?
As HSL: color: hsl(258, 6%, 33%); — As HEX: color: #524F59; — As RGB: color: rgb(82, 79, 89); — Tailwind CSS: bg-[hsl(258,6%,33%)] — CSS variable: --color-primary: hsl(258, 6%, 33%);