HSL(267, 5%, 77%)

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

Color Conversions

Format Value CSS Usage
HSL hsl(267, 5%, 77%) color: hsl(267, 5%, 77%)
HEX #C4C1C7 color: #C4C1C7
RGB rgb(196, 193, 199) color: rgb(196, 193, 199)
CMYK cmyk(2%, 3%, 0%, 22%)
HSV hsv(270, 3%, 78%)
HWB hwb(270 76% 22%) color: hwb(270 76% 22%)
OKLCH oklch(0.8151 0.0089 308.34) color: oklch(0.8151 0.0089 308.34)
Lab lab(78.46 2.15 -2.64) color: lab(78.46 2.15 -2.64)
LCH lch(78.46 3.4 309.16) color: lch(78.46 3.4 309.16)

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.78:1
vs Black 11.8: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)

#C3C3C6 — rgb(195, 195, 198)

Deuteranopia (Green-blind)

#C3C3C5 — rgb(195, 195, 197)

Tritanopia (Blue-blind)

#C4C4C4 — rgb(196, 196, 196)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #C4C1C7;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(267, 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(267, 5%, 77%)?

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

What colors go well with #C4C1C7?

The complementary color is HSL(87, 5%, 77%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.

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

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