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

Color Conversions

Format Value CSS Usage
HSL hsl(305, 5%, 62%) color: hsl(305, 5%, 62%)
HEX #A399A2 color: #A399A2
RGB rgb(163, 153, 162) color: rgb(163, 153, 162)
CMYK cmyk(0%, 6%, 1%, 36%)
HSV hsv(306, 6%, 64%)
HWB hwb(306 60% 36%) color: hwb(306 60% 36%)
OKLCH oklch(0.6943 0.0173 328.87) color: oklch(0.6943 0.0173 328.87)
Lab lab(64.3 5.34 -3.39) color: lab(64.3 5.34 -3.39)
LCH lch(64.3 6.33 327.59) color: lch(64.3 6.33 327.59)

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.64: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)

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

Deuteranopia (Green-blind)

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

Tritanopia (Blue-blind)

#A39E9E — rgb(163, 158, 158)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #A399A2;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(305, 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(305, 5%, 62%)?

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

What colors go well with #A399A2?

The complementary color is HSL(125, 5%, 62%). For a triadic harmony, use hues 305°, 65°, and 185°. For analogous combinations, try hues 275° and 335°. See the Color Harmony section above for complete palettes with previews.

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

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