#7E306C Color Information
Hex color code: #7E306C
#7E306C is a delicate magenta color. In RGB it is (126, 48, 108), and in HSL it is (314°, 45%, 34%). It is popular in mobile app design.
Shades
color: #7E306C; background-color: #7E306C; border-color: #7E306C; box-shadow: 0 0 10px #7E306C; border: 2px solid #7E306C;
bg-[#7E306C] text-[#7E306C] border-[#7E306C] shadow-[0_0_10px_7E306C]
Generate Gradient
background: linear-gradient(90deg, #7E306C, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #7E306C in the color wheel.
RGB, HSL and CMYK Values
RGB
126, 48, 108
Red: 126 / Green: 48 / Blue: 108
HSL
314°, 45%, 34%
Hue: 314° / Saturation: 45% / Lightness: 34%
CMYK
0%, 62%, 14%, 51%
Cyan: 0% / Magenta: 62% / Yellow: 14% / Key: 51%
What color is #7E306C?
#7E306C is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A subtle magenta tone, #7E306C has RGB (126, 48, 108) and HSL (314°, 45%, 34%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #7E306C is #307E42, creating high-contrast pairings. For softer combinations, try analogous colors like #69307E.
Use #7E306C in CSS: color: #7E306C or background-color: #7E306C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #7E306C
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #7E306C?
#7E306C is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #7E306C?
#7E306C in RGB is (126, 48, 108) - 126 red, 48 green, and 108 blue.
How to use #7E306C in CSS?
Use #7E306C directly in your CSS properties like color or background-color.