HSL(71, 5%, 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(71,5%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 5%, 45%) | color: hsl(71, 5%, 45%) | |
| HEX | #76786D | color: #76786D | |
| RGB | rgb(118, 120, 109) | color: rgb(118, 120, 109) | |
| CMYK | cmyk(2%, 0%, 9%, 53%) | — | |
| HSV | hsv(71, 9%, 47%) | — | |
| HWB | hwb(71 43% 53%) | color: hwb(71 43% 53%) | |
| OKLCH | oklch(0.5676 0.0167 115.3) | color: oklch(0.5676 0.0167 115.3) | |
| Lab | lab(49.96 -2.9 5.78) | color: lab(49.96 -2.9 5.78) | |
| LCH | lch(49.96 6.47 116.64) | color: lch(49.96 6.47 116.64) |
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)
#777770 — rgb(119, 119, 112)
Deuteranopia (Green-blind)
#777770 — rgb(119, 119, 112)
Tritanopia (Blue-blind)
#767272 — rgb(118, 114, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 5%, 45%);
text
color: hsl(71, 5%, 45%);
border
border: 2px solid hsl(71, 5%, 45%);
gradient light
background: linear-gradient(to right, hsl(71, 5%, 65%), hsl(71, 5%, 45%));
gradient dark
background: linear-gradient(to right, hsl(71, 5%, 45%), hsl(71, 5%, 25%))
hex
background-color: #76786D;
tailwind
bg-[hsl(71,5%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 5%, 45%, 0.4);
css variable
--color-primary: hsl(71, 5%, 45%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(71, 5%, 45%)?
HEX: #76786D | RGB: rgb(118, 120, 109) | CMYK: 2%, 0%, 9%, 53% | HSV: 71°, 9%, 47%. Copy any format from the conversion table above.
What colors go well with #76786D?
The complementary color is HSL(251, 5%, 45%). For a triadic harmony, use hues 71°, 191°, and 311°. For analogous combinations, try hues 41° and 101°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(71, 5%, 45%) in CSS?
As HSL: color: hsl(71, 5%, 45%); — As HEX: color: #76786D; — As RGB: color: rgb(118, 120, 109); — Tailwind CSS: bg-[hsl(71,5%,45%)] — CSS variable: --color-primary: hsl(71, 5%, 45%);