HSL(317, 4%, 61%)

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(317,4%,61%)]

Color Conversions

Format Value CSS Usage
HSL hsl(317, 4%, 61%) color: hsl(317, 4%, 61%)
HEX #A0989D color: #A0989D
RGB rgb(160, 152, 157) color: rgb(160, 152, 157)
CMYK cmyk(0%, 5%, 2%, 37%)
HSV hsv(323, 5%, 63%)
HWB hwb(323 60% 37%) color: hwb(323 60% 37%)
OKLCH oklch(0.688 0.0117 339.46) color: oklch(0.688 0.0117 339.46)
Lab lab(63.64 3.86 -1.57) color: lab(63.64 3.86 -1.57)
LCH lch(63.64 4.17 337.87) color: lch(63.64 4.17 337.87)

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.81:1
vs Black 7.47: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)

#9D9C9C — rgb(157, 156, 156)

Deuteranopia (Green-blind)

#9D9E9C — rgb(157, 158, 156)

Tritanopia (Blue-blind)

#A09B9B — rgb(160, 155, 155)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(317, 4%, 61%);

text

color: hsl(317, 4%, 61%);

border

border: 2px solid hsl(317, 4%, 61%);

gradient light

background: linear-gradient(to right, hsl(317, 4%, 81%), hsl(317, 4%, 61%));

gradient dark

background: linear-gradient(to right, hsl(317, 4%, 61%), hsl(317, 4%, 41%))

hex

background-color: #A0989D;

tailwind

bg-[hsl(317,4%,61%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(317, 4%, 61%, 0.4);

css variable

--color-primary: hsl(317, 4%, 61%);

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(317, 4%, 61%)?

HEX: #A0989D | RGB: rgb(160, 152, 157) | CMYK: 0%, 5%, 2%, 37% | HSV: 323°, 5%, 63%. Copy any format from the conversion table above.

What colors go well with #A0989D?

The complementary color is HSL(137, 4%, 61%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(317, 4%, 61%) in CSS?

As HSL: color: hsl(317, 4%, 61%); — As HEX: color: #A0989D; — As RGB: color: rgb(160, 152, 157); — Tailwind CSS: bg-[hsl(317,4%,61%)] — CSS variable: --color-primary: hsl(317, 4%, 61%);