HSL(308, 9%, 39%)

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(308,9%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(308, 9%, 39%) color: hsl(308, 9%, 39%)
HEX #6C5A6A color: #6C5A6A
RGB rgb(108, 90, 106) color: rgb(108, 90, 106)
CMYK cmyk(0%, 17%, 2%, 58%)
HSV hsv(307, 17%, 42%)
HWB hwb(307 35% 58%) color: hwb(307 35% 58%)
OKLCH oklch(0.4909 0.0337 329.71) color: oklch(0.4909 0.0337 329.71)
Lab lab(40.48 10.44 -6.39) color: lab(40.48 10.44 -6.39)
LCH lch(40.48 12.24 328.53) color: lch(40.48 12.24 328.53)

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 6.35:1
vs Black 3.31: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)

#646466 — rgb(100, 100, 102)

Deuteranopia (Green-blind)

#656765 — rgb(101, 103, 101)

Tritanopia (Blue-blind)

#6B6362 — rgb(107, 99, 98)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(308, 9%, 39%);

text

color: hsl(308, 9%, 39%);

border

border: 2px solid hsl(308, 9%, 39%);

gradient light

background: linear-gradient(to right, hsl(308, 9%, 59%), hsl(308, 9%, 39%));

gradient dark

background: linear-gradient(to right, hsl(308, 9%, 39%), hsl(308, 9%, 19%))

hex

background-color: #6C5A6A;

tailwind

bg-[hsl(308,9%,39%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(308, 9%, 39%, 0.4);

css variable

--color-primary: hsl(308, 9%, 39%);

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(308, 9%, 39%)?

HEX: #6C5A6A | RGB: rgb(108, 90, 106) | CMYK: 0%, 17%, 2%, 58% | HSV: 307°, 17%, 42%. Copy any format from the conversion table above.

What colors go well with #6C5A6A?

The complementary color is HSL(128, 9%, 39%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(308, 9%, 39%) in CSS?

As HSL: color: hsl(308, 9%, 39%); — As HEX: color: #6C5A6A; — As RGB: color: rgb(108, 90, 106); — Tailwind CSS: bg-[hsl(308,9%,39%)] — CSS variable: --color-primary: hsl(308, 9%, 39%);