#D02FC2 Color Information

Hex color code: #D02FC2

#D02FC2 is a understated magenta color. In RGB it is (208, 47, 194), and in HSL it is (305°, 63%, 50%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#D02FC2
RGB
208, 47, 194
HSL
305°, 63%, 50%
CMYK
0%, 77%, 7%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D02FC2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

208, 47, 194

Red: 208 / Green: 47 / Blue: 194

HSL

305°, 63%, 50%

Hue: 305° / Saturation: 63% / Lightness: 50%

CMYK

0%, 77%, 7%, 18%

Cyan: 0% / Magenta: 77% / Yellow: 7% / Key: 18%

What color is #D02FC2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D02FC2 to RGB:

rgb(208, 47, 194)HEX to RGB Converter →

HEX to HSL

Convert #D02FC2 to HSL:

hsl(305, 63%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D02FC2 to CMYK:

cmyk(0%, 77%, 7%, 18%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #D02FC2 has RGB (208, 47, 194) and HSL (305°, 63%, 50%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D02FC2 is #2FD03D, creating high-contrast pairings. For softer combinations, try analogous colors like #8D2FD0.

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

Contrast with #D02FC2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D02FC2?

#D02FC2 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D02FC2?

#D02FC2 in RGB is (208, 47, 194) - 208 red, 47 green, and 194 blue.

How to use #D02FC2 in CSS?

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

What colors go well with #D02FC2?

#2FD03D (complementary), #8D2FD0 (analogous), and #912188 (lighter shade) work well with #D02FC2.