HSL(12, 7%, 51%)
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(12,7%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 7%, 51%) | color: hsl(12, 7%, 51%) | |
| HEX | #8B7D79 | color: #8B7D79 | |
| RGB | rgb(139, 125, 121) | color: rgb(139, 125, 121) | |
| CMYK | cmyk(0%, 10%, 13%, 45%) | — | |
| HSV | hsv(13, 13%, 55%) | — | |
| HWB | hwb(13 48% 45%) | color: hwb(13 48% 45%) | |
| OKLCH | oklch(0.6012 0.0183 36.5) | color: oklch(0.6012 0.0183 36.5) | |
| Lab | lab(53.53 4.62 4.12) | color: lab(53.53 4.62 4.12) | |
| LCH | lch(53.53 6.19 41.73) | color: lch(53.53 6.19 41.73) |
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)
#85857A — rgb(133, 133, 122)
Deuteranopia (Green-blind)
#86877A — rgb(134, 135, 122)
Tritanopia (Blue-blind)
#8A7B7B — rgb(138, 123, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 7%, 51%);
text
color: hsl(12, 7%, 51%);
border
border: 2px solid hsl(12, 7%, 51%);
gradient light
background: linear-gradient(to right, hsl(12, 7%, 71%), hsl(12, 7%, 51%));
gradient dark
background: linear-gradient(to right, hsl(12, 7%, 51%), hsl(12, 7%, 31%))
hex
background-color: #8B7D79;
tailwind
bg-[hsl(12,7%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 7%, 51%, 0.4);
css variable
--color-primary: hsl(12, 7%, 51%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(12, 7%, 51%)?
HEX: #8B7D79 | RGB: rgb(139, 125, 121) | CMYK: 0%, 10%, 13%, 45% | HSV: 13°, 13%, 55%. Copy any format from the conversion table above.
What colors go well with #8B7D79?
The complementary color is HSL(192, 7%, 51%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 7%, 51%) in CSS?
As HSL: color: hsl(12, 7%, 51%); — As HEX: color: #8B7D79; — As RGB: color: rgb(139, 125, 121); — Tailwind CSS: bg-[hsl(12,7%,51%)] — CSS variable: --color-primary: hsl(12, 7%, 51%);