#DB42D4 Color Information

Hex color code: #DB42D4

#DB42D4 is a balanced magenta color. In RGB it is (219, 66, 212), and in HSL it is (303°, 68%, 56%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#DB42D4
RGB
219, 66, 212
HSL
303°, 68%, 56%
CMYK
0%, 70%, 3%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DB42D4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

219, 66, 212

Red: 219 / Green: 66 / Blue: 212

HSL

303°, 68%, 56%

Hue: 303° / Saturation: 68% / Lightness: 56%

CMYK

0%, 70%, 3%, 14%

Cyan: 0% / Magenta: 70% / Yellow: 3% / Key: 14%

What color is #DB42D4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DB42D4 to RGB:

rgb(219, 66, 212)HEX to RGB Converter →

HEX to HSL

Convert #DB42D4 to HSL:

hsl(303, 68%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #DB42D4 to CMYK:

cmyk(0%, 70%, 3%, 14%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #DB42D4 has RGB (219, 66, 212) and HSL (303°, 68%, 56%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DB42D4 is #43DB4A, creating high-contrast pairings. For softer combinations, try analogous colors like #9643DB.

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

Contrast with #DB42D4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DB42D4?

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

What is the RGB value of #DB42D4?

#DB42D4 in RGB is (219, 66, 212) - 219 red, 66 green, and 212 blue.

How to use #DB42D4 in CSS?

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

What colors go well with #DB42D4?

#43DB4A (complementary), #9643DB (analogous), and #B021A9 (lighter shade) work well with #DB42D4.