HSL(309, 9%, 34%)
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(309,9%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 9%, 34%) | color: hsl(309, 9%, 34%) | |
| HEX | #5F4F5C | color: #5F4F5C | |
| RGB | rgb(95, 79, 92) | color: rgb(95, 79, 92) | |
| CMYK | cmyk(0%, 17%, 3%, 63%) | — | |
| HSV | hsv(311, 17%, 37%) | — | |
| HWB | hwb(311 31% 63%) | color: hwb(311 31% 63%) | |
| OKLCH | oklch(0.4483 0.0293 332.46) | color: oklch(0.4483 0.0293 332.46) | |
| Lab | lab(35.59 9.23 -5.1) | color: lab(35.59 9.23 -5.1) | |
| LCH | lch(35.59 10.55 331.08) | color: lch(35.59 10.55 331.08) |
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)
#585859 — rgb(88, 88, 89)
Deuteranopia (Green-blind)
#595A58 — rgb(89, 90, 88)
Tritanopia (Blue-blind)
#5E5656 — rgb(94, 86, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 9%, 34%);
text
color: hsl(309, 9%, 34%);
border
border: 2px solid hsl(309, 9%, 34%);
gradient light
background: linear-gradient(to right, hsl(309, 9%, 54%), hsl(309, 9%, 34%));
gradient dark
background: linear-gradient(to right, hsl(309, 9%, 34%), hsl(309, 9%, 14%))
hex
background-color: #5F4F5C;
tailwind
bg-[hsl(309,9%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 9%, 34%, 0.4);
css variable
--color-primary: hsl(309, 9%, 34%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(309, 9%, 34%)?
HEX: #5F4F5C | RGB: rgb(95, 79, 92) | CMYK: 0%, 17%, 3%, 63% | HSV: 311°, 17%, 37%. Copy any format from the conversion table above.
What colors go well with #5F4F5C?
The complementary color is HSL(129, 9%, 34%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(309, 9%, 34%) in CSS?
As HSL: color: hsl(309, 9%, 34%); — As HEX: color: #5F4F5C; — As RGB: color: rgb(95, 79, 92); — Tailwind CSS: bg-[hsl(309,9%,34%)] — CSS variable: --color-primary: hsl(309, 9%, 34%);