HSL(52, 9%, 46%)
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(52,9%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 9%, 46%) | color: hsl(52, 9%, 46%) | |
| HEX | #807D6B | color: #807D6B | |
| RGB | rgb(128, 125, 107) | color: rgb(128, 125, 107) | |
| CMYK | cmyk(0%, 2%, 16%, 50%) | — | |
| HSV | hsv(51, 16%, 50%) | — | |
| HWB | hwb(51 42% 50%) | color: hwb(51 42% 50%) | |
| OKLCH | oklch(0.5871 0.0268 99.37) | color: oklch(0.5871 0.0268 99.37) | |
| Lab | lab(52.2 -2.16 10.24) | color: lab(52.2 -2.16 10.24) | |
| LCH | lch(52.2 10.47 101.91) | color: lch(52.2 10.47 101.91) |
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)
#7F7F6F — rgb(127, 127, 111)
Deuteranopia (Green-blind)
#7F7F70 — rgb(127, 127, 112)
Tritanopia (Blue-blind)
#807374 — rgb(128, 115, 116)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 9%, 46%);
text
color: hsl(52, 9%, 46%);
border
border: 2px solid hsl(52, 9%, 46%);
gradient light
background: linear-gradient(to right, hsl(52, 9%, 66%), hsl(52, 9%, 46%));
gradient dark
background: linear-gradient(to right, hsl(52, 9%, 46%), hsl(52, 9%, 26%))
hex
background-color: #807D6B;
tailwind
bg-[hsl(52,9%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 9%, 46%, 0.4);
css variable
--color-primary: hsl(52, 9%, 46%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(52, 9%, 46%)?
HEX: #807D6B | RGB: rgb(128, 125, 107) | CMYK: 0%, 2%, 16%, 50% | HSV: 51°, 16%, 50%. Copy any format from the conversion table above.
What colors go well with #807D6B?
The complementary color is HSL(232, 9%, 46%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 9%, 46%) in CSS?
As HSL: color: hsl(52, 9%, 46%); — As HEX: color: #807D6B; — As RGB: color: rgb(128, 125, 107); — Tailwind CSS: bg-[hsl(52,9%,46%)] — CSS variable: --color-primary: hsl(52, 9%, 46%);