HSL(298, 8%, 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(298,8%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(298, 8%, 78%) color: hsl(298, 8%, 78%)
HEX #CBC2CB color: #CBC2CB
RGB rgb(203, 194, 203) color: rgb(203, 194, 203)
CMYK cmyk(0%, 4%, 0%, 20%)
HSV hsv(300, 4%, 80%)
HWB hwb(300 77% 20%) color: hwb(300 77% 20%)
OKLCH oklch(0.824 0.0159 325.72) color: oklch(0.824 0.0159 325.72)
Lab lab(79.38 4.77 -3.38) color: lab(79.38 4.77 -3.38)
LCH lch(79.38 5.85 324.68) color: lch(79.38 5.85 324.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.73:1
vs Black 12.12: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)

#C7C7C9 — rgb(199, 199, 201)

Deuteranopia (Green-blind)

#C8C8C8 — rgb(200, 200, 200)

Tritanopia (Blue-blind)

#CBC7C7 — rgb(203, 199, 199)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(298, 8%, 78%);

text

color: hsl(298, 8%, 78%);

border

border: 2px solid hsl(298, 8%, 78%);

gradient light

background: linear-gradient(to right, hsl(298, 8%, 98%), hsl(298, 8%, 78%));

gradient dark

background: linear-gradient(to right, hsl(298, 8%, 78%), hsl(298, 8%, 58%))

hex

background-color: #CBC2CB;

tailwind

bg-[hsl(298,8%,78%)]

box shadow

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

css variable

--color-primary: hsl(298, 8%, 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(298, 8%, 78%)?

HEX: #CBC2CB | RGB: rgb(203, 194, 203) | CMYK: 0%, 4%, 0%, 20% | HSV: 300°, 4%, 80%. Copy any format from the conversion table above.

What colors go well with #CBC2CB?

The complementary color is HSL(118, 8%, 78%). For a triadic harmony, use hues 298°, 58°, and 178°. For analogous combinations, try hues 268° and 328°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(298, 8%, 78%) in CSS?

As HSL: color: hsl(298, 8%, 78%); — As HEX: color: #CBC2CB; — As RGB: color: rgb(203, 194, 203); — Tailwind CSS: bg-[hsl(298,8%,78%)] — CSS variable: --color-primary: hsl(298, 8%, 78%);