HSL(122, 7%, 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(122,7%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 7%, 45%) | color: hsl(122, 7%, 45%) | |
| HEX | #6B7B6B | color: #6B7B6B | |
| RGB | rgb(107, 123, 107) | color: rgb(107, 123, 107) | |
| CMYK | cmyk(13%, 0%, 13%, 52%) | — | |
| HSV | hsv(120, 13%, 48%) | — | |
| HWB | hwb(120 42% 52%) | color: hwb(120 42% 52%) | |
| OKLCH | oklch(0.5649 0.0308 145.15) | color: oklch(0.5649 0.0308 145.15) | |
| Lab | lab(49.92 -9.22 6.78) | color: lab(49.92 -9.22 6.78) | |
| LCH | lch(49.92 11.44 143.67) | color: lch(49.92 11.44 143.67) |
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)
#72726F — rgb(114, 114, 111)
Deuteranopia (Green-blind)
#717070 — rgb(113, 112, 112)
Tritanopia (Blue-blind)
#6C7273 — rgb(108, 114, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 7%, 45%);
text
color: hsl(122, 7%, 45%);
border
border: 2px solid hsl(122, 7%, 45%);
gradient light
background: linear-gradient(to right, hsl(122, 7%, 65%), hsl(122, 7%, 45%));
gradient dark
background: linear-gradient(to right, hsl(122, 7%, 45%), hsl(122, 7%, 25%))
hex
background-color: #6B7B6B;
tailwind
bg-[hsl(122,7%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 7%, 45%, 0.4);
css variable
--color-primary: hsl(122, 7%, 45%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(122, 7%, 45%)?
HEX: #6B7B6B | RGB: rgb(107, 123, 107) | CMYK: 13%, 0%, 13%, 52% | HSV: 120°, 13%, 48%. Copy any format from the conversion table above.
What colors go well with #6B7B6B?
The complementary color is HSL(302, 7%, 45%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(122, 7%, 45%) in CSS?
As HSL: color: hsl(122, 7%, 45%); — As HEX: color: #6B7B6B; — As RGB: color: rgb(107, 123, 107); — Tailwind CSS: bg-[hsl(122,7%,45%)] — CSS variable: --color-primary: hsl(122, 7%, 45%);