HSL(18, 9%, 45%)
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(18,9%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(18, 9%, 45%) | color: hsl(18, 9%, 45%) | |
| HEX | #7D6F68 | color: #7D6F68 | |
| RGB | rgb(125, 111, 104) | color: rgb(125, 111, 104) | |
| CMYK | cmyk(0%, 11%, 17%, 51%) | — | |
| HSV | hsv(20, 17%, 49%) | — | |
| HWB | hwb(20 41% 51%) | color: hwb(20 41% 51%) | |
| OKLCH | oklch(0.5526 0.0207 48.33) | color: oklch(0.5526 0.0207 48.33) | |
| Lab | lab(47.92 4.21 5.89) | color: lab(47.92 4.21 5.89) | |
| LCH | lch(47.92 7.24 54.44) | color: lch(47.92 7.24 54.44) |
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)
#77776A — rgb(119, 119, 106)
Deuteranopia (Green-blind)
#78796A — rgb(120, 121, 106)
Tritanopia (Blue-blind)
#7C6B6B — rgb(124, 107, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(18, 9%, 45%);
text
color: hsl(18, 9%, 45%);
border
border: 2px solid hsl(18, 9%, 45%);
gradient light
background: linear-gradient(to right, hsl(18, 9%, 65%), hsl(18, 9%, 45%));
gradient dark
background: linear-gradient(to right, hsl(18, 9%, 45%), hsl(18, 9%, 25%))
hex
background-color: #7D6F68;
tailwind
bg-[hsl(18,9%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(18, 9%, 45%, 0.4);
css variable
--color-primary: hsl(18, 9%, 45%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(18, 9%, 45%)?
HEX: #7D6F68 | RGB: rgb(125, 111, 104) | CMYK: 0%, 11%, 17%, 51% | HSV: 20°, 17%, 49%. Copy any format from the conversion table above.
What colors go well with #7D6F68?
The complementary color is HSL(198, 9%, 45%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(18, 9%, 45%) in CSS?
As HSL: color: hsl(18, 9%, 45%); — As HEX: color: #7D6F68; — As RGB: color: rgb(125, 111, 104); — Tailwind CSS: bg-[hsl(18,9%,45%)] — CSS variable: --color-primary: hsl(18, 9%, 45%);