HSL(2, 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(2,5%,77%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 5%, 77%) color: hsl(2, 5%, 77%)
HEX #C7C2C1 color: #C7C2C1
RGB rgb(199, 194, 193) color: rgb(199, 194, 193)
CMYK cmyk(0%, 3%, 3%, 22%)
HSV hsv(10, 3%, 78%)
HWB hwb(10 76% 22%) color: hwb(10 76% 22%)
OKLCH oklch(0.8178 0.0058 31.06) color: oklch(0.8178 0.0058 31.06)
Lab lab(78.8 1.56 1.12) color: lab(78.8 1.56 1.12)
LCH lch(78.8 1.92 35.68) color: lch(78.8 1.92 35.68)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 1.76:1
vs Black 11.92:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#C5C5C1 — rgb(197, 197, 193)

Deuteranopia (Green-blind)

#C5C6C1 — rgb(197, 198, 193)

Tritanopia (Blue-blind)

#C7C1C1 — rgb(199, 193, 193)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 5%, 77%);

text

color: hsl(2, 5%, 77%);

border

border: 2px solid hsl(2, 5%, 77%);

gradient light

background: linear-gradient(to right, hsl(2, 5%, 97%), hsl(2, 5%, 77%));

gradient dark

background: linear-gradient(to right, hsl(2, 5%, 77%), hsl(2, 5%, 57%))

hex

background-color: #C7C2C1;

tailwind

bg-[hsl(2,5%,77%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(2, 5%, 77%, 0.4);

css variable

--color-primary: hsl(2, 5%, 77%);

Related Colors

Use Cases for Grayish Gray

Neutral backgrounds Body text Borders Secondary buttons Disabled states

Frequently Asked Questions

What are all the color codes for HSL(2, 5%, 77%)?

HEX: #C7C2C1 | RGB: rgb(199, 194, 193) | CMYK: 0%, 3%, 3%, 22% | HSV: 10°, 3%, 78%. Copy any format from the conversion table above.

What colors go well with #C7C2C1?

The complementary color is HSL(182, 5%, 77%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(2, 5%, 77%) in CSS?

As HSL: color: hsl(2, 5%, 77%); — As HEX: color: #C7C2C1; — As RGB: color: rgb(199, 194, 193); — Tailwind CSS: bg-[hsl(2,5%,77%)] — CSS variable: --color-primary: hsl(2, 5%, 77%);