#7C797D Color Information

Hex color code: #7C797D

#7C797D is a neutral magenta color. In RGB it is (124, 121, 125), and in HSL it is (285°, 2%, 48%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#7C797D
RGB
124, 121, 125
HSL
285°, 2%, 48%
CMYK
1%, 3%, 0%, 51%

Shades

CSS Usage
color: #7C797D;
background-color: #7C797D;
border-color: #7C797D;
box-shadow: 0 0 10px #7C797D;
border: 2px solid #7C797D;
Tailwind Usage
bg-[#7C797D]
text-[#7C797D]
border-[#7C797D]
shadow-[0_0_10px_7C797D]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7C797D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7C797D; color: #000000; }

Badge

New Feature
.badge { background-color: #7C797D; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #7C797D; background-color: #7C797D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7C797D20; border-left: 4px solid #7C797D; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #7C797D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7C797D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

124, 121, 125

Red: 124 / Green: 121 / Blue: 125

HSL

285°, 2%, 48%

Hue: 285° / Saturation: 2% / Lightness: 48%

CMYK

1%, 3%, 0%, 51%

Cyan: 1% / Magenta: 3% / Yellow: 0% / Key: 51%

What color is #7C797D?

#7C797D is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7C797D to RGB:

rgb(124, 121, 125)HEX to RGB Converter →

HEX to HSL

Convert #7C797D to HSL:

hsl(285, 2%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #7C797D to CMYK:

cmyk(1%, 3%, 0%, 51%)Color Converter →

Color Meaning and Usage

#7C797D is a neutral magenta color with RGB values of 124, 121, 125 and HSL of 285°, 2%, 48%. This desaturated neutral evokes balance and subtlety, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7C797D is #797D78, creating high-contrast pairings. For softer combinations, try analogous colors like #79787D.

Use #7C797D in CSS: color: #7C797D or background-color: #7C797D. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #7C797D

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 4.89:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7C797D?

#7C797D is a neutral magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #7C797D?

#7C797D in RGB is (124, 121, 125) - 124 red, 121 green, and 125 blue.

How to use #7C797D in CSS?

Use #7C797D directly in your CSS properties like color or background-color.

What colors go well with #7C797D?

#797D78 (complementary), #79787D (analogous), and #555256 (lighter shade) work well with #7C797D.