#7E797F Color Information

Hex color code: #7E797F

#7E797F is a neutral magenta color. In RGB it is (126, 121, 127), and in HSL it is (290°, 2%, 49%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#7E797F
RGB
126, 121, 127
HSL
290°, 2%, 49%
CMYK
1%, 5%, 0%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #7E797F; 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 #7E797F; background-color: #7E797F15; }

Alert / Toast

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

Link / Accent

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

a { color: #7E797F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 121, 127

Red: 126 / Green: 121 / Blue: 127

HSL

290°, 2%, 49%

Hue: 290° / Saturation: 2% / Lightness: 49%

CMYK

1%, 5%, 0%, 50%

Cyan: 1% / Magenta: 5% / Yellow: 0% / Key: 50%

What color is #7E797F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7E797F to RGB:

rgb(126, 121, 127)HEX to RGB Converter →

HEX to HSL

Convert #7E797F to HSL:

hsl(290, 2%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #7E797F to CMYK:

cmyk(1%, 5%, 0%, 50%)Color Converter →

Color Meaning and Usage

#7E797F is a neutral magenta color with RGB values of 126, 121, 127 and HSL of 290°, 2%, 49%. This desaturated neutral evokes balance and subtlety, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7E797F is #7B7F7A, creating high-contrast pairings. For softer combinations, try analogous colors like #7C7A7F.

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

Contrast with #7E797F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7E797F?

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

What is the RGB value of #7E797F?

#7E797F in RGB is (126, 121, 127) - 126 red, 121 green, and 127 blue.

How to use #7E797F in CSS?

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

What colors go well with #7E797F?

#7B7F7A (complementary), #7C7A7F (analogous), and #585558 (lighter shade) work well with #7E797F.