#D242C8 Color Information

Hex color code: #D242C8

A balanced magenta shade, #D242C8 appears as (210, 66, 200) in RGB and (304°, 62%, 54%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#D242C8
RGB
210, 66, 200
HSL
304°, 62%, 54%
CMYK
0%, 69%, 5%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D242C8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 66, 200

Red: 210 / Green: 66 / Blue: 200

HSL

304°, 62%, 54%

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

CMYK

0%, 69%, 5%, 18%

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

What color is #D242C8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D242C8 to RGB:

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

HEX to HSL

Convert #D242C8 to HSL:

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

HEX to CMYK

Convert #D242C8 to CMYK:

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

Color Meaning and Usage

#D242C8 is a neutral magenta color with RGB values of 210, 66, 200 and HSL of 304°, 62%, 54%. 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 #D242C8 is #41D24B, creating high-contrast pairings. For softer combinations, try analogous colors like #9341D2.

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

Contrast with #D242C8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D242C8?

#D242C8 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D242C8?

#D242C8 in RGB is (210, 66, 200) - 210 red, 66 green, and 200 blue.

How to use #D242C8 in CSS?

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

What colors go well with #D242C8?

#41D24B (complementary), #9341D2 (analogous), and #A12699 (lighter shade) work well with #D242C8.