HSL(138, 6%, 68%)

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(138,6%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(138, 6%, 68%) color: hsl(138, 6%, 68%)
HEX #A9B2AB color: #A9B2AB
RGB rgb(169, 178, 171) color: rgb(169, 178, 171)
CMYK cmyk(5%, 0%, 4%, 30%)
HSV hsv(133, 5%, 70%)
HWB hwb(133 67% 30%) color: hwb(133 67% 30%)
OKLCH oklch(0.7544 0.0141 152.52) color: oklch(0.7544 0.0141 152.52)
Lab lab(71.7 -4.48 2.48) color: lab(71.7 -4.48 2.48)
LCH lch(71.7 5.12 151.03) color: lch(71.7 5.12 151.03)

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.18:1
vs Black 9.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)

#ADADAD — rgb(173, 173, 173)

Deuteranopia (Green-blind)

#ACACAD — rgb(172, 172, 173)

Tritanopia (Blue-blind)

#A9AEAE — rgb(169, 174, 174)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(138, 6%, 68%);

text

color: hsl(138, 6%, 68%);

border

border: 2px solid hsl(138, 6%, 68%);

gradient light

background: linear-gradient(to right, hsl(138, 6%, 88%), hsl(138, 6%, 68%));

gradient dark

background: linear-gradient(to right, hsl(138, 6%, 68%), hsl(138, 6%, 48%))

hex

background-color: #A9B2AB;

tailwind

bg-[hsl(138,6%,68%)]

box shadow

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

css variable

--color-primary: hsl(138, 6%, 68%);

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(138, 6%, 68%)?

HEX: #A9B2AB | RGB: rgb(169, 178, 171) | CMYK: 5%, 0%, 4%, 30% | HSV: 133°, 5%, 70%. Copy any format from the conversion table above.

What colors go well with #A9B2AB?

The complementary color is HSL(318, 6%, 68%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(138, 6%, 68%) in CSS?

As HSL: color: hsl(138, 6%, 68%); — As HEX: color: #A9B2AB; — As RGB: color: rgb(169, 178, 171); — Tailwind CSS: bg-[hsl(138,6%,68%)] — CSS variable: --color-primary: hsl(138, 6%, 68%);