HSL(175, 3%, 51%)
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(175,3%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(175, 3%, 51%) | color: hsl(175, 3%, 51%) | |
| HEX | #7E8685 | color: #7E8685 | |
| RGB | rgb(126, 134, 133) | color: rgb(126, 134, 133) | |
| CMYK | cmyk(6%, 0%, 1%, 47%) | — | |
| HSV | hsv(173, 6%, 53%) | — | |
| HWB | hwb(173 50% 47%) | color: hwb(173 50% 47%) | |
| OKLCH | oklch(0.6131 0.0096 187.95) | color: oklch(0.6131 0.0096 187.95) | |
| Lab | lab(55.26 -3.14 -0.48) | color: lab(55.26 -3.14 -0.48) | |
| LCH | lch(55.26 3.18 188.69) | color: lch(55.26 3.18 188.69) |
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)
#818285 — rgb(129, 130, 133)
Deuteranopia (Green-blind)
#818085 — rgb(129, 128, 133)
Tritanopia (Blue-blind)
#7E8585 — rgb(126, 133, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(175, 3%, 51%);
text
color: hsl(175, 3%, 51%);
border
border: 2px solid hsl(175, 3%, 51%);
gradient light
background: linear-gradient(to right, hsl(175, 3%, 71%), hsl(175, 3%, 51%));
gradient dark
background: linear-gradient(to right, hsl(175, 3%, 51%), hsl(175, 3%, 31%))
hex
background-color: #7E8685;
tailwind
bg-[hsl(175,3%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(175, 3%, 51%, 0.4);
css variable
--color-primary: hsl(175, 3%, 51%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(175, 3%, 51%)?
HEX: #7E8685 | RGB: rgb(126, 134, 133) | CMYK: 6%, 0%, 1%, 47% | HSV: 173°, 6%, 53%. Copy any format from the conversion table above.
What colors go well with #7E8685?
The complementary color is HSL(355, 3%, 51%). For a triadic harmony, use hues 175°, 295°, and 55°. For analogous combinations, try hues 145° and 205°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(175, 3%, 51%) in CSS?
As HSL: color: hsl(175, 3%, 51%); — As HEX: color: #7E8685; — As RGB: color: rgb(126, 134, 133); — Tailwind CSS: bg-[hsl(175,3%,51%)] — CSS variable: --color-primary: hsl(175, 3%, 51%);