HSL(167, 4%, 41%)

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(167,4%,41%)]

Color Conversions

Format Value CSS Usage
HSL hsl(167, 4%, 41%) color: hsl(167, 4%, 41%)
HEX #646D6B color: #646D6B
RGB rgb(100, 109, 107) color: rgb(100, 109, 107)
CMYK cmyk(8%, 0%, 2%, 57%)
HSV hsv(167, 8%, 43%)
HWB hwb(167 40% 57%) color: hwb(167 40% 57%)
OKLCH oklch(0.5264 0.0114 181.08) color: oklch(0.5264 0.0114 181.08)
Lab lab(45.23 -3.84 -0.06) color: lab(45.23 -3.84 -0.06)
LCH lch(45.23 3.84 180.9) color: lch(45.23 3.84 180.9)

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 5.33:1
vs Black 3.94:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#68686B — rgb(104, 104, 107)

Deuteranopia (Green-blind)

#67676C — rgb(103, 103, 108)

Tritanopia (Blue-blind)

#646C6C — rgb(100, 108, 108)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(167, 4%, 41%);

text

color: hsl(167, 4%, 41%);

border

border: 2px solid hsl(167, 4%, 41%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(167, 4%, 41%), hsl(167, 4%, 21%))

hex

background-color: #646D6B;

tailwind

bg-[hsl(167,4%,41%)]

box shadow

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

css variable

--color-primary: hsl(167, 4%, 41%);

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(167, 4%, 41%)?

HEX: #646D6B | RGB: rgb(100, 109, 107) | CMYK: 8%, 0%, 2%, 57% | HSV: 167°, 8%, 43%. Copy any format from the conversion table above.

What colors go well with #646D6B?

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

How do I use HSL(167, 4%, 41%) in CSS?

As HSL: color: hsl(167, 4%, 41%); — As HEX: color: #646D6B; — As RGB: color: rgb(100, 109, 107); — Tailwind CSS: bg-[hsl(167,4%,41%)] — CSS variable: --color-primary: hsl(167, 4%, 41%);