#D2517C Color Information

Hex color code: #D2517C

The hex color #D2517C is a vibrant magenta with RGB values of (210, 81, 124) and HSL of (340°, 59%, 57%). It is popular in mobile app design.

Try:
Color NameIndian Red
HEX
#D2517C
RGB
210, 81, 124
HSL
340°, 59%, 57%
CMYK
0%, 61%, 41%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2517C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #D2517C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 81, 124

Red: 210 / Green: 81 / Blue: 124

HSL

340°, 59%, 57%

Hue: 340° / Saturation: 59% / Lightness: 57%

CMYK

0%, 61%, 41%, 18%

Cyan: 0% / Magenta: 61% / Yellow: 41% / Key: 18%

What color is #D2517C?

#D2517C is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2517C to RGB:

rgb(210, 81, 124)HEX to RGB Converter →

HEX to HSL

Convert #D2517C to HSL:

hsl(340, 59%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #D2517C to CMYK:

cmyk(0%, 61%, 41%, 18%)Color Converter →

Color Meaning and Usage

#D2517C is a vibrant magenta color with RGB values of 210, 81, 124 and HSL of 340°, 59%, 57%. This red-orange hue evokes warmth and passion, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2517C is #51D2A7, creating high-contrast pairings. For softer combinations, try analogous colors like #D251BC.

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

Contrast with #D2517C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2517C?

#D2517C is a vibrant magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D2517C?

#D2517C in RGB is (210, 81, 124) - 210 red, 81 green, and 124 blue.

How to use #D2517C in CSS?

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

What colors go well with #D2517C?

#51D2A7 (complementary), #D251BC (analogous), and #AA2C56 (lighter shade) work well with #D2517C.