HSL(97, 2%, 33%)

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(97,2%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 2%, 33%) color: hsl(97, 2%, 33%)
HEX #545652 color: #545652
RGB rgb(84, 86, 82) color: rgb(84, 86, 82)
CMYK cmyk(2%, 0%, 5%, 66%)
HSV hsv(90, 5%, 34%)
HWB hwb(90 32% 66%) color: hwb(90 32% 66%)
OKLCH oklch(0.45 0.0069 128.63) color: oklch(0.45 0.0069 128.63)
Lab lab(36.27 -1.65 2.05) color: lab(36.27 -1.65 2.05)
LCH lch(36.27 2.63 128.83) color: lch(36.27 2.63 128.83)

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 7.42:1
vs Black 2.83:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#555553 — rgb(85, 85, 83)

Deuteranopia (Green-blind)

#555553 — rgb(85, 85, 83)

Tritanopia (Blue-blind)

#545454 — rgb(84, 84, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 2%, 33%);

text

color: hsl(97, 2%, 33%);

border

border: 2px solid hsl(97, 2%, 33%);

gradient light

background: linear-gradient(to right, hsl(97, 2%, 53%), hsl(97, 2%, 33%));

gradient dark

background: linear-gradient(to right, hsl(97, 2%, 33%), hsl(97, 2%, 13%))

hex

background-color: #545652;

tailwind

bg-[hsl(97,2%,33%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(97, 2%, 33%, 0.4);

css variable

--color-primary: hsl(97, 2%, 33%);

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(97, 2%, 33%)?

HEX: #545652 | RGB: rgb(84, 86, 82) | CMYK: 2%, 0%, 5%, 66% | HSV: 90°, 5%, 34%. Copy any format from the conversion table above.

What colors go well with #545652?

The complementary color is HSL(277, 2%, 33%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(97, 2%, 33%) in CSS?

As HSL: color: hsl(97, 2%, 33%); — As HEX: color: #545652; — As RGB: color: rgb(84, 86, 82); — Tailwind CSS: bg-[hsl(97,2%,33%)] — CSS variable: --color-primary: hsl(97, 2%, 33%);