#D42BC8 Color Information

Hex color code: #D42BC8

A neutral magenta shade, #D42BC8 appears as (212, 43, 200) in RGB and (304°, 66%, 50%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#D42BC8
RGB
212, 43, 200
HSL
304°, 66%, 50%
CMYK
0%, 80%, 6%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D42BC8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 43, 200

Red: 212 / Green: 43 / Blue: 200

HSL

304°, 66%, 50%

Hue: 304° / Saturation: 66% / Lightness: 50%

CMYK

0%, 80%, 6%, 17%

Cyan: 0% / Magenta: 80% / Yellow: 6% / Key: 17%

What color is #D42BC8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D42BC8 to RGB:

rgb(212, 43, 200)HEX to RGB Converter →

HEX to HSL

Convert #D42BC8 to HSL:

hsl(304, 66%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D42BC8 to CMYK:

cmyk(0%, 80%, 6%, 17%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #D42BC8 has RGB (212, 43, 200) and HSL (304°, 66%, 50%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D42BC8 is #2BD437, creating high-contrast pairings. For softer combinations, try analogous colors like #8B2BD4.

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

Contrast with #D42BC8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D42BC8?

#D42BC8 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D42BC8?

#D42BC8 in RGB is (212, 43, 200) - 212 red, 43 green, and 200 blue.

How to use #D42BC8 in CSS?

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

What colors go well with #D42BC8?

#2BD437 (complementary), #8B2BD4 (analogous), and #941E8C (lighter shade) work well with #D42BC8.