HSL(302, 7%, 46%)
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(302,7%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 7%, 46%) | color: hsl(302, 7%, 46%) | |
| HEX | #7E6D7D | color: #7E6D7D | |
| RGB | rgb(126, 109, 125) | color: rgb(126, 109, 125) | |
| CMYK | cmyk(0%, 13%, 1%, 51%) | — | |
| HSV | hsv(304, 13%, 49%) | — | |
| HWB | hwb(304 43% 51%) | color: hwb(304 43% 51%) | |
| OKLCH | oklch(0.5561 0.0319 327.84) | color: oklch(0.5561 0.0319 327.84) | |
| Lab | lab(48.08 9.74 -6.38) | color: lab(48.08 9.74 -6.38) | |
| LCH | lch(48.08 11.64 326.77) | color: lch(48.08 11.64 326.77) |
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)
#777679 — rgb(119, 118, 121)
Deuteranopia (Green-blind)
#787978 — rgb(120, 121, 120)
Tritanopia (Blue-blind)
#7D7675 — rgb(125, 118, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 7%, 46%);
text
color: hsl(302, 7%, 46%);
border
border: 2px solid hsl(302, 7%, 46%);
gradient light
background: linear-gradient(to right, hsl(302, 7%, 66%), hsl(302, 7%, 46%));
gradient dark
background: linear-gradient(to right, hsl(302, 7%, 46%), hsl(302, 7%, 26%))
hex
background-color: #7E6D7D;
tailwind
bg-[hsl(302,7%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 7%, 46%, 0.4);
css variable
--color-primary: hsl(302, 7%, 46%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(302, 7%, 46%)?
HEX: #7E6D7D | RGB: rgb(126, 109, 125) | CMYK: 0%, 13%, 1%, 51% | HSV: 304°, 13%, 49%. Copy any format from the conversion table above.
What colors go well with #7E6D7D?
The complementary color is HSL(122, 7%, 46%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 7%, 46%) in CSS?
As HSL: color: hsl(302, 7%, 46%); — As HEX: color: #7E6D7D; — As RGB: color: rgb(126, 109, 125); — Tailwind CSS: bg-[hsl(302,7%,46%)] — CSS variable: --color-primary: hsl(302, 7%, 46%);