HSL(12, 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(12,5%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 5%, 77%) | color: hsl(12, 5%, 77%) | |
| HEX | #C7C3C1 | color: #C7C3C1 | |
| RGB | rgb(199, 195, 193) | color: rgb(199, 195, 193) | |
| CMYK | cmyk(0%, 2%, 3%, 22%) | — | |
| HSV | hsv(20, 3%, 78%) | — | |
| HWB | hwb(20 76% 22%) | color: hwb(20 76% 22%) | |
| OKLCH | oklch(0.8198 0.0053 48.67) | color: oklch(0.8198 0.0053 48.67) | |
| Lab | lab(79.05 1.03 1.49) | color: lab(79.05 1.03 1.49) | |
| LCH | lch(79.05 1.81 55.34) | color: lch(79.05 1.81 55.34) |
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)
#C5C5C1 — rgb(197, 197, 193)
Deuteranopia (Green-blind)
#C6C6C2 — rgb(198, 198, 194)
Tritanopia (Blue-blind)
#C7C2C2 — rgb(199, 194, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 5%, 77%);
text
color: hsl(12, 5%, 77%);
border
border: 2px solid hsl(12, 5%, 77%);
gradient light
background: linear-gradient(to right, hsl(12, 5%, 97%), hsl(12, 5%, 77%));
gradient dark
background: linear-gradient(to right, hsl(12, 5%, 77%), hsl(12, 5%, 57%))
hex
background-color: #C7C3C1;
tailwind
bg-[hsl(12,5%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 5%, 77%, 0.4);
css variable
--color-primary: hsl(12, 5%, 77%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(12, 5%, 77%)?
HEX: #C7C3C1 | RGB: rgb(199, 195, 193) | CMYK: 0%, 2%, 3%, 22% | HSV: 20°, 3%, 78%. Copy any format from the conversion table above.
What colors go well with #C7C3C1?
The complementary color is HSL(192, 5%, 77%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 5%, 77%) in CSS?
As HSL: color: hsl(12, 5%, 77%); — As HEX: color: #C7C3C1; — As RGB: color: rgb(199, 195, 193); — Tailwind CSS: bg-[hsl(12,5%,77%)] — CSS variable: --color-primary: hsl(12, 5%, 77%);