HSL(320, 7%, 27%)

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(320,7%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(320, 7%, 27%) color: hsl(320, 7%, 27%)
HEX #4A4046 color: #4A4046
RGB rgb(74, 64, 70) color: rgb(74, 64, 70)
CMYK cmyk(0%, 14%, 5%, 71%)
HSV hsv(324, 14%, 29%)
HWB hwb(324 25% 71%) color: hwb(324 25% 71%)
OKLCH oklch(0.3839 0.0168 341.2) color: oklch(0.3839 0.0168 341.2)
Lab lab(28.29 5.53 -2.06) color: lab(28.29 5.53 -2.06)
LCH lch(28.29 5.9 339.57) color: lch(28.29 5.9 339.57)

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 9.94:1
vs Black 2.11: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)

#464645 — rgb(70, 70, 69)

Deuteranopia (Green-blind)

#464744 — rgb(70, 71, 68)

Tritanopia (Blue-blind)

#4A4343 — rgb(74, 67, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(320, 7%, 27%);

text

color: hsl(320, 7%, 27%);

border

border: 2px solid hsl(320, 7%, 27%);

gradient light

background: linear-gradient(to right, hsl(320, 7%, 47%), hsl(320, 7%, 27%));

gradient dark

background: linear-gradient(to right, hsl(320, 7%, 27%), hsl(320, 7%, 7%))

hex

background-color: #4A4046;

tailwind

bg-[hsl(320,7%,27%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(320, 7%, 27%, 0.4);

css variable

--color-primary: hsl(320, 7%, 27%);

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(320, 7%, 27%)?

HEX: #4A4046 | RGB: rgb(74, 64, 70) | CMYK: 0%, 14%, 5%, 71% | HSV: 324°, 14%, 29%. Copy any format from the conversion table above.

What colors go well with #4A4046?

The complementary color is HSL(140, 7%, 27%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(320, 7%, 27%) in CSS?

As HSL: color: hsl(320, 7%, 27%); — As HEX: color: #4A4046; — As RGB: color: rgb(74, 64, 70); — Tailwind CSS: bg-[hsl(320,7%,27%)] — CSS variable: --color-primary: hsl(320, 7%, 27%);