HSL(303, 5%, 77%)
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(303,5%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 5%, 77%) | color: hsl(303, 5%, 77%) | |
| HEX | #C7C1C7 | color: #C7C1C7 | |
| RGB | rgb(199, 193, 199) | color: rgb(199, 193, 199) | |
| CMYK | cmyk(0%, 3%, 0%, 22%) | — | |
| HSV | hsv(300, 3%, 78%) | — | |
| HWB | hwb(300 76% 22%) | color: hwb(300 76% 22%) | |
| OKLCH | oklch(0.8176 0.0106 325.67) | color: oklch(0.8176 0.0106 325.67) | |
| Lab | lab(78.7 3.18 -2.26) | color: lab(78.7 3.18 -2.26) | |
| LCH | lch(78.7 3.9 324.6) | color: lch(78.7 3.9 324.6) |
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)
#C4C4C6 — rgb(196, 196, 198)
Deuteranopia (Green-blind)
#C5C5C5 — rgb(197, 197, 197)
Tritanopia (Blue-blind)
#C7C4C4 — rgb(199, 196, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 5%, 77%);
text
color: hsl(303, 5%, 77%);
border
border: 2px solid hsl(303, 5%, 77%);
gradient light
background: linear-gradient(to right, hsl(303, 5%, 97%), hsl(303, 5%, 77%));
gradient dark
background: linear-gradient(to right, hsl(303, 5%, 77%), hsl(303, 5%, 57%))
hex
background-color: #C7C1C7;
tailwind
bg-[hsl(303,5%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 5%, 77%, 0.4);
css variable
--color-primary: hsl(303, 5%, 77%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(303, 5%, 77%)?
HEX: #C7C1C7 | RGB: rgb(199, 193, 199) | CMYK: 0%, 3%, 0%, 22% | HSV: 300°, 3%, 78%. Copy any format from the conversion table above.
What colors go well with #C7C1C7?
The complementary color is HSL(123, 5%, 77%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 5%, 77%) in CSS?
As HSL: color: hsl(303, 5%, 77%); — As HEX: color: #C7C1C7; — As RGB: color: rgb(199, 193, 199); — Tailwind CSS: bg-[hsl(303,5%,77%)] — CSS variable: --color-primary: hsl(303, 5%, 77%);