HSL(172, 3%, 62%)

Grayish Gray — Gray color

Adjust Color

Color Information

Color Name

Grayish Gray

Color Family

Gray

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(172,3%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(172, 3%, 62%) color: hsl(172, 3%, 62%)
HEX #9BA1A0 color: #9BA1A0
RGB rgb(155, 161, 160) color: rgb(155, 161, 160)
CMYK cmyk(4%, 0%, 1%, 37%)
HSV hsv(170, 4%, 63%)
HWB hwb(170 60% 37%) color: hwb(170 60% 37%)
OKLCH oklch(0.7038 0.007 185.19) color: oklch(0.7038 0.007 185.19)
Lab lab(65.75 -2.33 -0.23) color: lab(65.75 -2.33 -0.23)
LCH lch(65.75 2.34 185.64) color: lch(65.75 2.34 185.64)

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.63:1
vs Black 8: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)

#9E9EA0 — rgb(158, 158, 160)

Deuteranopia (Green-blind)

#9D9DA0 — rgb(157, 157, 160)

Tritanopia (Blue-blind)

#9BA0A0 — rgb(155, 160, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(172, 3%, 62%);

text

color: hsl(172, 3%, 62%);

border

border: 2px solid hsl(172, 3%, 62%);

gradient light

background: linear-gradient(to right, hsl(172, 3%, 82%), hsl(172, 3%, 62%));

gradient dark

background: linear-gradient(to right, hsl(172, 3%, 62%), hsl(172, 3%, 42%))

hex

background-color: #9BA1A0;

tailwind

bg-[hsl(172,3%,62%)]

box shadow

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

css variable

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

HEX: #9BA1A0 | RGB: rgb(155, 161, 160) | CMYK: 4%, 0%, 1%, 37% | HSV: 170°, 4%, 63%. Copy any format from the conversion table above.

What colors go well with #9BA1A0?

The complementary color is HSL(352, 3%, 62%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(172, 3%, 62%) in CSS?

As HSL: color: hsl(172, 3%, 62%); — As HEX: color: #9BA1A0; — As RGB: color: rgb(155, 161, 160); — Tailwind CSS: bg-[hsl(172,3%,62%)] — CSS variable: --color-primary: hsl(172, 3%, 62%);