#D42183 Color Information

Hex color code: #D42183

#D42183 is a striking magenta color. In RGB it is (212, 33, 131), and in HSL it is (327°, 73%, 48%). It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#D42183
RGB
212, 33, 131
HSL
327°, 73%, 48%
CMYK
0%, 84%, 38%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D42183; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 33, 131

Red: 212 / Green: 33 / Blue: 131

HSL

327°, 73%, 48%

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

CMYK

0%, 84%, 38%, 17%

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

What color is #D42183?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D42183 to RGB:

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

HEX to HSL

Convert #D42183 to HSL:

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

HEX to CMYK

Convert #D42183 to CMYK:

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

Color Meaning and Usage

#D42183 is a eye-catching magenta color with RGB values of 212, 33, 131 and HSL of 327°, 73%, 48%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D42183 is #21D471, creating high-contrast pairings. For softer combinations, try analogous colors like #CB21D4.

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

Contrast with #D42183

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D42183?

#D42183 is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D42183?

#D42183 in RGB is (212, 33, 131) - 212 red, 33 green, and 131 blue.

How to use #D42183 in CSS?

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

What colors go well with #D42183?

#21D471 (complementary), #CB21D4 (analogous), and #92175A (lighter shade) work well with #D42183.