#7E727B Color Information

Hex color code: #7E727B

A neutral magenta shade, #7E727B appears as (126, 114, 123) in RGB and (315°, 5%, 47%) in HSL. It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#7E727B
RGB
126, 114, 123
HSL
315°, 5%, 47%
CMYK
0%, 10%, 2%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #7E727B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #7E727B; color: #FFFFFF; }

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 #7E727B; background-color: #7E727B15; }

Alert / Toast

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

Link / Accent

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

a { color: #7E727B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 114, 123

Red: 126 / Green: 114 / Blue: 123

HSL

315°, 5%, 47%

Hue: 315° / Saturation: 5% / Lightness: 47%

CMYK

0%, 10%, 2%, 51%

Cyan: 0% / Magenta: 10% / Yellow: 2% / Key: 51%

What color is #7E727B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7E727B to RGB:

rgb(126, 114, 123)HEX to RGB Converter →

HEX to HSL

Convert #7E727B to HSL:

hsl(315, 5%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #7E727B to CMYK:

cmyk(0%, 10%, 2%, 51%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #7E727B has RGB (126, 114, 123) and HSL (315°, 5%, 47%). Known for evoking balance and subtlety, this desaturated neutral is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7E727B is #727E75, creating high-contrast pairings. For softer combinations, try analogous colors like #7B727E.

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

Contrast with #7E727B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7E727B?

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

What is the RGB value of #7E727B?

#7E727B in RGB is (126, 114, 123) - 126 red, 114 green, and 123 blue.

How to use #7E727B in CSS?

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

What colors go well with #7E727B?

#727E75 (complementary), #7B727E (analogous), and #564E54 (lighter shade) work well with #7E727B.