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

Color Conversions

Format Value CSS Usage
HSL hsl(128, 4%, 41%) color: hsl(128, 4%, 41%)
HEX #646D65 color: #646D65
RGB rgb(100, 109, 101) color: rgb(100, 109, 101)
CMYK cmyk(8%, 0%, 7%, 57%)
HSV hsv(127, 8%, 43%)
HWB hwb(127 40% 57%) color: hwb(127 40% 57%)
OKLCH oklch(0.5245 0.0165 148.58) color: oklch(0.5245 0.0165 148.58)
Lab lab(45.06 -5.1 3.3) color: lab(45.06 -5.1 3.3)
LCH lch(45.06 6.07 147.09) color: lch(45.06 6.07 147.09)

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.36:1
vs Black 3.92: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)

#686867 — rgb(104, 104, 103)

Deuteranopia (Green-blind)

#676767 — rgb(103, 103, 103)

Tritanopia (Blue-blind)

#646869 — rgb(100, 104, 105)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #646D65;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(128, 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(128, 4%, 41%)?

HEX: #646D65 | RGB: rgb(100, 109, 101) | CMYK: 8%, 0%, 7%, 57% | HSV: 127°, 8%, 43%. Copy any format from the conversion table above.

What colors go well with #646D65?

The complementary color is HSL(308, 4%, 41%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.

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

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