HSL(8, 3%, 46%)

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(8,3%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(8, 3%, 46%) color: hsl(8, 3%, 46%)
HEX #797372 color: #797372
RGB rgb(121, 115, 114) color: rgb(121, 115, 114)
CMYK cmyk(0%, 5%, 6%, 53%)
HSV hsv(9, 6%, 47%)
HWB hwb(9 44% 53%) color: hwb(9 44% 53%)
OKLCH oklch(0.5606 0.0076 28.86) color: oklch(0.5606 0.0076 28.86)
Lab lab(48.94 2.11 1.38) color: lab(48.94 2.11 1.38)
LCH lch(48.94 2.52 33.19) color: lch(48.94 2.52 33.19)

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.66:1
vs Black 4.51:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

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)

#767672 — rgb(118, 118, 114)

Deuteranopia (Green-blind)

#777772 — rgb(119, 119, 114)

Tritanopia (Blue-blind)

#797272 — rgb(121, 114, 114)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(8, 3%, 46%);

text

color: hsl(8, 3%, 46%);

border

border: 2px solid hsl(8, 3%, 46%);

gradient light

background: linear-gradient(to right, hsl(8, 3%, 66%), hsl(8, 3%, 46%));

gradient dark

background: linear-gradient(to right, hsl(8, 3%, 46%), hsl(8, 3%, 26%))

hex

background-color: #797372;

tailwind

bg-[hsl(8,3%,46%)]

box shadow

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

css variable

--color-primary: hsl(8, 3%, 46%);

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(8, 3%, 46%)?

HEX: #797372 | RGB: rgb(121, 115, 114) | CMYK: 0%, 5%, 6%, 53% | HSV: 9°, 6%, 47%. Copy any format from the conversion table above.

What colors go well with #797372?

The complementary color is HSL(188, 3%, 46%). For a triadic harmony, use hues 8°, 128°, and 248°. For analogous combinations, try hues 338° and 38°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(8, 3%, 46%) in CSS?

As HSL: color: hsl(8, 3%, 46%); — As HEX: color: #797372; — As RGB: color: rgb(121, 115, 114); — Tailwind CSS: bg-[hsl(8,3%,46%)] — CSS variable: --color-primary: hsl(8, 3%, 46%);