HSL(173, 6%, 45%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(173,6%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(173, 6%, 45%) | color: hsl(173, 6%, 45%) | |
| HEX | #6C7A78 | color: #6C7A78 | |
| RGB | rgb(108, 122, 120) | color: rgb(108, 122, 120) | |
| CMYK | cmyk(11%, 0%, 2%, 52%) | — | |
| HSV | hsv(171, 11%, 48%) | — | |
| HWB | hwb(171 43% 52%) | color: hwb(171 43% 52%) | |
| OKLCH | oklch(0.5673 0.0169 186.33) | color: oklch(0.5673 0.0169 186.33) | |
| Lab | lab(50.05 -5.6 -0.67) | color: lab(50.05 -5.6 -0.67) | |
| LCH | lch(50.05 5.64 186.82) | color: lch(50.05 5.64 186.82) |
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)
#727278 — rgb(114, 114, 120)
Deuteranopia (Green-blind)
#717079 — rgb(113, 112, 121)
Tritanopia (Blue-blind)
#6D7979 — rgb(109, 121, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(173, 6%, 45%);
text
color: hsl(173, 6%, 45%);
border
border: 2px solid hsl(173, 6%, 45%);
gradient light
background: linear-gradient(to right, hsl(173, 6%, 65%), hsl(173, 6%, 45%));
gradient dark
background: linear-gradient(to right, hsl(173, 6%, 45%), hsl(173, 6%, 25%))
hex
background-color: #6C7A78;
tailwind
bg-[hsl(173,6%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(173, 6%, 45%, 0.4);
css variable
--color-primary: hsl(173, 6%, 45%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(173, 6%, 45%)?
HEX: #6C7A78 | RGB: rgb(108, 122, 120) | CMYK: 11%, 0%, 2%, 52% | HSV: 171°, 11%, 48%. Copy any format from the conversion table above.
What colors go well with #6C7A78?
The complementary color is HSL(353, 6%, 45%). For a triadic harmony, use hues 173°, 293°, and 53°. For analogous combinations, try hues 143° and 203°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(173, 6%, 45%) in CSS?
As HSL: color: hsl(173, 6%, 45%); — As HEX: color: #6C7A78; — As RGB: color: rgb(108, 122, 120); — Tailwind CSS: bg-[hsl(173,6%,45%)] — CSS variable: --color-primary: hsl(173, 6%, 45%);