HSL(308, 7%, 64%)

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(308,7%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(308, 7%, 64%) color: hsl(308, 7%, 64%)
HEX #AA9DA8 color: #AA9DA8
RGB rgb(170, 157, 168) color: rgb(170, 157, 168)
CMYK cmyk(0%, 8%, 1%, 33%)
HSV hsv(309, 8%, 67%)
HWB hwb(309 62% 33%) color: hwb(309 62% 33%)
OKLCH oklch(0.7105 0.0217 330.77) color: oklch(0.7105 0.0217 330.77)
Lab lab(66.13 6.77 -4) color: lab(66.13 6.77 -4)
LCH lch(66.13 7.86 329.42) color: lch(66.13 7.86 329.42)

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.59:1
vs Black 8.1: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)

#A4A4A5 — rgb(164, 164, 165)

Deuteranopia (Green-blind)

#A5A6A5 — rgb(165, 166, 165)

Tritanopia (Blue-blind)

#A9A3A3 — rgb(169, 163, 163)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(308, 7%, 64%);

text

color: hsl(308, 7%, 64%);

border

border: 2px solid hsl(308, 7%, 64%);

gradient light

background: linear-gradient(to right, hsl(308, 7%, 84%), hsl(308, 7%, 64%));

gradient dark

background: linear-gradient(to right, hsl(308, 7%, 64%), hsl(308, 7%, 44%))

hex

background-color: #AA9DA8;

tailwind

bg-[hsl(308,7%,64%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(308, 7%, 64%, 0.4);

css variable

--color-primary: hsl(308, 7%, 64%);

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(308, 7%, 64%)?

HEX: #AA9DA8 | RGB: rgb(170, 157, 168) | CMYK: 0%, 8%, 1%, 33% | HSV: 309°, 8%, 67%. Copy any format from the conversion table above.

What colors go well with #AA9DA8?

The complementary color is HSL(128, 7%, 64%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(308, 7%, 64%) in CSS?

As HSL: color: hsl(308, 7%, 64%); — As HEX: color: #AA9DA8; — As RGB: color: rgb(170, 157, 168); — Tailwind CSS: bg-[hsl(308,7%,64%)] — CSS variable: --color-primary: hsl(308, 7%, 64%);