HSL(278, 8%, 47%)

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(278,8%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 8%, 47%) color: hsl(278, 8%, 47%)
HEX #7A6E81 color: #7A6E81
RGB rgb(122, 110, 129) color: rgb(122, 110, 129)
CMYK cmyk(5%, 15%, 0%, 49%)
HSV hsv(278, 15%, 51%)
HWB hwb(278 43% 49%) color: hwb(278 43% 49%)
OKLCH oklch(0.5558 0.0323 313.18) color: oklch(0.5558 0.0323 313.18)
Lab lab(48.1 8.49 -8.76) color: lab(48.1 8.49 -8.76)
LCH lch(48.1 12.2 314.1) color: lch(48.1 12.2 314.1)

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 4.8:1
vs Black 4.37:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#75757C — rgb(117, 117, 124)

Deuteranopia (Green-blind)

#76767B — rgb(118, 118, 123)

Tritanopia (Blue-blind)

#797978 — rgb(121, 121, 120)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 8%, 47%);

text

color: hsl(278, 8%, 47%);

border

border: 2px solid hsl(278, 8%, 47%);

gradient light

background: linear-gradient(to right, hsl(278, 8%, 67%), hsl(278, 8%, 47%));

gradient dark

background: linear-gradient(to right, hsl(278, 8%, 47%), hsl(278, 8%, 27%))

hex

background-color: #7A6E81;

tailwind

bg-[hsl(278,8%,47%)]

box shadow

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

css variable

--color-primary: hsl(278, 8%, 47%);

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(278, 8%, 47%)?

HEX: #7A6E81 | RGB: rgb(122, 110, 129) | CMYK: 5%, 15%, 0%, 49% | HSV: 278°, 15%, 51%. Copy any format from the conversion table above.

What colors go well with #7A6E81?

The complementary color is HSL(98, 8%, 47%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 8%, 47%) in CSS?

As HSL: color: hsl(278, 8%, 47%); — As HEX: color: #7A6E81; — As RGB: color: rgb(122, 110, 129); — Tailwind CSS: bg-[hsl(278,8%,47%)] — CSS variable: --color-primary: hsl(278, 8%, 47%);