HSL(338, 5%, 69%)

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(338,5%,69%)]

Color Conversions

Format Value CSS Usage
HSL hsl(338, 5%, 69%) color: hsl(338, 5%, 69%)
HEX #B4ACAF color: #B4ACAF
RGB rgb(180, 172, 175) color: rgb(180, 172, 175)
CMYK cmyk(0%, 4%, 3%, 29%)
HSV hsv(338, 4%, 71%)
HWB hwb(338 68% 29%) color: hwb(338 68% 29%)
OKLCH oklch(0.752 0.01 352.46) color: oklch(0.752 0.01 352.46)
Lab lab(71.08 3.4 -0.52) color: lab(71.08 3.4 -0.52)
LCH lch(71.08 3.44 351.3) color: lch(71.08 3.44 351.3)

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 2.22:1
vs Black 9.46: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)

#B1B0AE — rgb(177, 176, 174)

Deuteranopia (Green-blind)

#B1B2AE — rgb(177, 178, 174)

Tritanopia (Blue-blind)

#B4AEAE — rgb(180, 174, 174)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(338, 5%, 69%);

text

color: hsl(338, 5%, 69%);

border

border: 2px solid hsl(338, 5%, 69%);

gradient light

background: linear-gradient(to right, hsl(338, 5%, 89%), hsl(338, 5%, 69%));

gradient dark

background: linear-gradient(to right, hsl(338, 5%, 69%), hsl(338, 5%, 49%))

hex

background-color: #B4ACAF;

tailwind

bg-[hsl(338,5%,69%)]

box shadow

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

css variable

--color-primary: hsl(338, 5%, 69%);

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(338, 5%, 69%)?

HEX: #B4ACAF | RGB: rgb(180, 172, 175) | CMYK: 0%, 4%, 3%, 29% | HSV: 338°, 4%, 71%. Copy any format from the conversion table above.

What colors go well with #B4ACAF?

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

How do I use HSL(338, 5%, 69%) in CSS?

As HSL: color: hsl(338, 5%, 69%); — As HEX: color: #B4ACAF; — As RGB: color: rgb(180, 172, 175); — Tailwind CSS: bg-[hsl(338,5%,69%)] — CSS variable: --color-primary: hsl(338, 5%, 69%);