HSL(251, 7%, 50%)
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(251,7%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 7%, 50%) | color: hsl(251, 7%, 50%) | |
| HEX | #7A7788 | color: #7A7788 | |
| RGB | rgb(122, 119, 136) | color: rgb(122, 119, 136) | |
| CMYK | cmyk(10%, 13%, 0%, 47%) | — | |
| HSV | hsv(251, 13%, 53%) | — | |
| HWB | hwb(251 46% 47%) | color: hwb(251 46% 47%) | |
| OKLCH | oklch(0.5777 0.026 293.67) | color: oklch(0.5777 0.026 293.67) | |
| Lab | lab(50.81 4.7 -8.84) | color: lab(50.81 4.7 -8.84) | |
| LCH | lch(50.81 10.01 298) | color: lch(50.81 10.01 298) |
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)
#797984 — rgb(121, 121, 132)
Deuteranopia (Green-blind)
#797983 — rgb(121, 121, 131)
Tritanopia (Blue-blind)
#7A8180 — rgb(122, 129, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 7%, 50%);
text
color: hsl(251, 7%, 50%);
border
border: 2px solid hsl(251, 7%, 50%);
gradient light
background: linear-gradient(to right, hsl(251, 7%, 70%), hsl(251, 7%, 50%));
gradient dark
background: linear-gradient(to right, hsl(251, 7%, 50%), hsl(251, 7%, 30%))
hex
background-color: #7A7788;
tailwind
bg-[hsl(251,7%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 7%, 50%, 0.4);
css variable
--color-primary: hsl(251, 7%, 50%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(251, 7%, 50%)?
HEX: #7A7788 | RGB: rgb(122, 119, 136) | CMYK: 10%, 13%, 0%, 47% | HSV: 251°, 13%, 53%. Copy any format from the conversion table above.
What colors go well with #7A7788?
The complementary color is HSL(71, 7%, 50%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 7%, 50%) in CSS?
As HSL: color: hsl(251, 7%, 50%); — As HEX: color: #7A7788; — As RGB: color: rgb(122, 119, 136); — Tailwind CSS: bg-[hsl(251,7%,50%)] — CSS variable: --color-primary: hsl(251, 7%, 50%);