#D242CE Color Information

Hex color code: #D242CE

The hex color #D242CE is a subtle magenta with RGB values of (210, 66, 206) and HSL of (302°, 62%, 54%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#D242CE
RGB
210, 66, 206
HSL
302°, 62%, 54%
CMYK
0%, 69%, 2%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D242CE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 66, 206

Red: 210 / Green: 66 / Blue: 206

HSL

302°, 62%, 54%

Hue: 302° / Saturation: 62% / Lightness: 54%

CMYK

0%, 69%, 2%, 18%

Cyan: 0% / Magenta: 69% / Yellow: 2% / Key: 18%

What color is #D242CE?

#D242CE is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D242CE to RGB:

rgb(210, 66, 206)HEX to RGB Converter →

HEX to HSL

Convert #D242CE to HSL:

hsl(302, 62%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #D242CE to CMYK:

cmyk(0%, 69%, 2%, 18%)Color Converter →

Color Meaning and Usage

#D242CE is a muted magenta color with RGB values of 210, 66, 206 and HSL of 302°, 62%, 54%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D242CE is #41D246, creating high-contrast pairings. For softer combinations, try analogous colors like #8F41D2.

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

Contrast with #D242CE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D242CE?

#D242CE is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D242CE?

#D242CE in RGB is (210, 66, 206) - 210 red, 66 green, and 206 blue.

How to use #D242CE in CSS?

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

What colors go well with #D242CE?

#41D246 (complementary), #8F41D2 (analogous), and #A1269D (lighter shade) work well with #D242CE.