#D42186 Color Information

Hex color code: #D42186

The hex color #D42186 is a eye-catching magenta with RGB values of (212, 33, 134) and HSL of (326°, 73%, 48%). It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#D42186
RGB
212, 33, 134
HSL
326°, 73%, 48%
CMYK
0%, 84%, 37%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #D42186; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #D42186; color: #FFFFFF; }

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 #D42186; background-color: #D4218615; }

Alert / Toast

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

Link / Accent

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

a { color: #D42186; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 33, 134

Red: 212 / Green: 33 / Blue: 134

HSL

326°, 73%, 48%

Hue: 326° / Saturation: 73% / Lightness: 48%

CMYK

0%, 84%, 37%, 17%

Cyan: 0% / Magenta: 84% / Yellow: 37% / Key: 17%

What color is #D42186?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D42186 to RGB:

rgb(212, 33, 134)HEX to RGB Converter →

HEX to HSL

Convert #D42186 to HSL:

hsl(326, 73%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #D42186 to CMYK:

cmyk(0%, 84%, 37%, 17%)Color Converter →

Color Meaning and Usage

#D42186 is a vivid magenta color with RGB values of 212, 33, 134 and HSL of 326°, 73%, 48%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D42186 is #21D46E, creating high-contrast pairings. For softer combinations, try analogous colors like #C821D4.

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

Contrast with #D42186

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

Contrast Ratio: 4.36:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D42186?

#D42186 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D42186?

#D42186 in RGB is (212, 33, 134) - 212 red, 33 green, and 134 blue.

How to use #D42186 in CSS?

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

What colors go well with #D42186?

#21D46E (complementary), #C821D4 (analogous), and #92175C (lighter shade) work well with #D42186.