HSL(315, 5%, 62%)

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(315,5%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(315, 5%, 62%) color: hsl(315, 5%, 62%)
HEX #A399A1 color: #A399A1
RGB rgb(163, 153, 161) color: rgb(163, 153, 161)
CMYK cmyk(0%, 6%, 1%, 36%)
HSV hsv(312, 6%, 64%)
HWB hwb(312 60% 36%) color: hwb(312 60% 36%)
OKLCH oklch(0.694 0.0163 332.35) color: oklch(0.694 0.0163 332.35)
Lab lab(64.28 5.15 -2.86) color: lab(64.28 5.15 -2.86)
LCH lch(64.28 5.89 330.95) color: lch(64.28 5.89 330.95)

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.75:1
vs Black 7.63: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)

#9F9F9F — rgb(159, 159, 159)

Deuteranopia (Green-blind)

#9FA09F — rgb(159, 160, 159)

Tritanopia (Blue-blind)

#A39E9D — rgb(163, 158, 157)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(315, 5%, 62%);

text

color: hsl(315, 5%, 62%);

border

border: 2px solid hsl(315, 5%, 62%);

gradient light

background: linear-gradient(to right, hsl(315, 5%, 82%), hsl(315, 5%, 62%));

gradient dark

background: linear-gradient(to right, hsl(315, 5%, 62%), hsl(315, 5%, 42%))

hex

background-color: #A399A1;

tailwind

bg-[hsl(315,5%,62%)]

box shadow

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

css variable

--color-primary: hsl(315, 5%, 62%);

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(315, 5%, 62%)?

HEX: #A399A1 | RGB: rgb(163, 153, 161) | CMYK: 0%, 6%, 1%, 36% | HSV: 312°, 6%, 64%. Copy any format from the conversion table above.

What colors go well with #A399A1?

The complementary color is HSL(135, 5%, 62%). For a triadic harmony, use hues 315°, 75°, and 195°. For analogous combinations, try hues 285° and 345°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(315, 5%, 62%) in CSS?

As HSL: color: hsl(315, 5%, 62%); — As HEX: color: #A399A1; — As RGB: color: rgb(163, 153, 161); — Tailwind CSS: bg-[hsl(315,5%,62%)] — CSS variable: --color-primary: hsl(315, 5%, 62%);