HSL(350, 5%, 52%)
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(350,5%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(350, 5%, 52%) | color: hsl(350, 5%, 52%) | |
| HEX | #8B7E81 | color: #8B7E81 | |
| RGB | rgb(139, 126, 129) | color: rgb(139, 126, 129) | |
| CMYK | cmyk(0%, 9%, 7%, 45%) | — | |
| HSV | hsv(346, 9%, 55%) | — | |
| HWB | hwb(346 50% 45%) | color: hwb(346 50% 45%) | |
| OKLCH | oklch(0.6057 0.0164 1.88) | color: oklch(0.6057 0.0164 1.88) | |
| Lab | lab(54.02 5.5 0.17) | color: lab(54.02 5.5 0.17) | |
| LCH | lch(54.02 5.5 1.77) | color: lch(54.02 5.5 1.77) |
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)
#858580 — rgb(133, 133, 128)
Deuteranopia (Green-blind)
#868780 — rgb(134, 135, 128)
Tritanopia (Blue-blind)
#8A8080 — rgb(138, 128, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(350, 5%, 52%);
text
color: hsl(350, 5%, 52%);
border
border: 2px solid hsl(350, 5%, 52%);
gradient light
background: linear-gradient(to right, hsl(350, 5%, 72%), hsl(350, 5%, 52%));
gradient dark
background: linear-gradient(to right, hsl(350, 5%, 52%), hsl(350, 5%, 32%))
hex
background-color: #8B7E81;
tailwind
bg-[hsl(350,5%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(350, 5%, 52%, 0.4);
css variable
--color-primary: hsl(350, 5%, 52%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(350, 5%, 52%)?
HEX: #8B7E81 | RGB: rgb(139, 126, 129) | CMYK: 0%, 9%, 7%, 45% | HSV: 346°, 9%, 55%. Copy any format from the conversion table above.
What colors go well with #8B7E81?
The complementary color is HSL(170, 5%, 52%). For a triadic harmony, use hues 350°, 110°, and 230°. For analogous combinations, try hues 320° and 20°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(350, 5%, 52%) in CSS?
As HSL: color: hsl(350, 5%, 52%); — As HEX: color: #8B7E81; — As RGB: color: rgb(139, 126, 129); — Tailwind CSS: bg-[hsl(350,5%,52%)] — CSS variable: --color-primary: hsl(350, 5%, 52%);