HSL(339, 9%, 50%)
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(339,9%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(339, 9%, 50%) | color: hsl(339, 9%, 50%) | |
| HEX | #8B747C | color: #8B747C | |
| RGB | rgb(139, 116, 124) | color: rgb(139, 116, 124) | |
| CMYK | cmyk(0%, 17%, 11%, 45%) | — | |
| HSV | hsv(339, 17%, 55%) | — | |
| HWB | hwb(339 46% 45%) | color: hwb(339 46% 45%) | |
| OKLCH | oklch(0.5832 0.0309 355.18) | color: oklch(0.5832 0.0309 355.18) | |
| Lab | lab(51.19 10.38 -1.04) | color: lab(51.19 10.38 -1.04) | |
| LCH | lch(51.19 10.43 354.28) | color: lch(51.19 10.43 354.28) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#81817A — rgb(129, 129, 122)
Deuteranopia (Green-blind)
#82847A — rgb(130, 132, 122)
Tritanopia (Blue-blind)
#8A7978 — rgb(138, 121, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(339, 9%, 50%);
text
color: hsl(339, 9%, 50%);
border
border: 2px solid hsl(339, 9%, 50%);
gradient light
background: linear-gradient(to right, hsl(339, 9%, 70%), hsl(339, 9%, 50%));
gradient dark
background: linear-gradient(to right, hsl(339, 9%, 50%), hsl(339, 9%, 30%))
hex
background-color: #8B747C;
tailwind
bg-[hsl(339,9%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(339, 9%, 50%, 0.4);
css variable
--color-primary: hsl(339, 9%, 50%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(339, 9%, 50%)?
HEX: #8B747C | RGB: rgb(139, 116, 124) | CMYK: 0%, 17%, 11%, 45% | HSV: 339°, 17%, 55%. Copy any format from the conversion table above.
What colors go well with #8B747C?
The complementary color is HSL(159, 9%, 50%). For a triadic harmony, use hues 339°, 99°, and 219°. For analogous combinations, try hues 309° and 9°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(339, 9%, 50%) in CSS?
As HSL: color: hsl(339, 9%, 50%); — As HEX: color: #8B747C; — As RGB: color: rgb(139, 116, 124); — Tailwind CSS: bg-[hsl(339,9%,50%)] — CSS variable: --color-primary: hsl(339, 9%, 50%);