HSL(277, 9%, 78%)

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(277,9%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(277, 9%, 78%) color: hsl(277, 9%, 78%)
HEX #C8C2CC color: #C8C2CC
RGB rgb(200, 194, 204) color: rgb(200, 194, 204)
CMYK cmyk(2%, 5%, 0%, 20%)
HSV hsv(276, 5%, 80%)
HWB hwb(276 76% 20%) color: hwb(276 76% 20%)
OKLCH oklch(0.8219 0.0153 312.22) color: oklch(0.8219 0.0153 312.22)
Lab lab(79.17 3.92 -4.26) color: lab(79.17 3.92 -4.26)
LCH lch(79.17 5.79 312.62) color: lch(79.17 5.79 312.62)

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.74:1
vs Black 12.04: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)

#C5C5CA — rgb(197, 197, 202)

Deuteranopia (Green-blind)

#C6C6C9 — rgb(198, 198, 201)

Tritanopia (Blue-blind)

#C8C8C7 — rgb(200, 200, 199)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(277, 9%, 78%);

text

color: hsl(277, 9%, 78%);

border

border: 2px solid hsl(277, 9%, 78%);

gradient light

background: linear-gradient(to right, hsl(277, 9%, 98%), hsl(277, 9%, 78%));

gradient dark

background: linear-gradient(to right, hsl(277, 9%, 78%), hsl(277, 9%, 58%))

hex

background-color: #C8C2CC;

tailwind

bg-[hsl(277,9%,78%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(277, 9%, 78%, 0.4);

css variable

--color-primary: hsl(277, 9%, 78%);

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(277, 9%, 78%)?

HEX: #C8C2CC | RGB: rgb(200, 194, 204) | CMYK: 2%, 5%, 0%, 20% | HSV: 276°, 5%, 80%. Copy any format from the conversion table above.

What colors go well with #C8C2CC?

The complementary color is HSL(97, 9%, 78%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(277, 9%, 78%) in CSS?

As HSL: color: hsl(277, 9%, 78%); — As HEX: color: #C8C2CC; — As RGB: color: rgb(200, 194, 204); — Tailwind CSS: bg-[hsl(277,9%,78%)] — CSS variable: --color-primary: hsl(277, 9%, 78%);