HSL(299, 4%, 48%)

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(299,4%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 4%, 48%) color: hsl(299, 4%, 48%)
HEX #7F767F color: #7F767F
RGB rgb(127, 118, 127) color: rgb(127, 118, 127)
CMYK cmyk(0%, 7%, 0%, 50%)
HSV hsv(300, 7%, 50%)
HWB hwb(300 47% 50%) color: hwb(300 47% 50%)
OKLCH oklch(0.5769 0.0173 325.8) color: oklch(0.5769 0.0173 325.8)
Lab lab(50.69 5.21 -3.68) color: lab(50.69 5.21 -3.68)
LCH lch(50.69 6.38 324.77) color: lch(50.69 6.38 324.77)

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 4.37:1
vs Black 4.8:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#7B7B7D — rgb(123, 123, 125)

Deuteranopia (Green-blind)

#7C7C7C — rgb(124, 124, 124)

Tritanopia (Blue-blind)

#7F7B7B — rgb(127, 123, 123)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 4%, 48%);

text

color: hsl(299, 4%, 48%);

border

border: 2px solid hsl(299, 4%, 48%);

gradient light

background: linear-gradient(to right, hsl(299, 4%, 68%), hsl(299, 4%, 48%));

gradient dark

background: linear-gradient(to right, hsl(299, 4%, 48%), hsl(299, 4%, 28%))

hex

background-color: #7F767F;

tailwind

bg-[hsl(299,4%,48%)]

box shadow

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

css variable

--color-primary: hsl(299, 4%, 48%);

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(299, 4%, 48%)?

HEX: #7F767F | RGB: rgb(127, 118, 127) | CMYK: 0%, 7%, 0%, 50% | HSV: 300°, 7%, 50%. Copy any format from the conversion table above.

What colors go well with #7F767F?

The complementary color is HSL(119, 4%, 48%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(299, 4%, 48%) in CSS?

As HSL: color: hsl(299, 4%, 48%); — As HEX: color: #7F767F; — As RGB: color: rgb(127, 118, 127); — Tailwind CSS: bg-[hsl(299,4%,48%)] — CSS variable: --color-primary: hsl(299, 4%, 48%);