#D172EC Color Information
Hex color code: #D172EC
The hex color #D172EC is a eye-catching magenta with RGB values of (209, 114, 236) and HSL of (287°, 76%, 69%). It is widely used in graphic design.
Shades
color: #D172EC; background-color: #D172EC; border-color: #D172EC; box-shadow: 0 0 10px #D172EC; border: 2px solid #D172EC;
bg-[#D172EC] text-[#D172EC] border-[#D172EC] shadow-[0_0_10px_D172EC]
Generate Gradient
background: linear-gradient(90deg, #D172EC, #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 #D172EC in the color wheel.
RGB, HSL and CMYK Values
RGB
209, 114, 236
Red: 209 / Green: 114 / Blue: 236
HSL
287°, 76%, 69%
Hue: 287° / Saturation: 76% / Lightness: 69%
CMYK
11%, 52%, 0%, 7%
Cyan: 11% / Magenta: 52% / Yellow: 0% / Key: 7%
What color is #D172EC?
#D172EC is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#D172EC is a eye-catching magenta color with RGB values of 209, 114, 236 and HSL of 287°, 76%, 69%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #D172EC is #8EEC74, creating high-contrast pairings. For softer combinations, try analogous colors like #9674EC.
Use #D172EC in CSS: color: #D172EC or background-color: #D172EC. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #D172EC
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 #D172EC?
#D172EC is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #D172EC?
#D172EC in RGB is (209, 114, 236) - 209 red, 114 green, and 236 blue.
How to use #D172EC in CSS?
Use #D172EC directly in your CSS properties like color or background-color.