#D242CB Color Information

Hex color code: #D242CB

#D242CB is a neutral magenta color. In RGB it is (210, 66, 203), and in HSL it is (303°, 62%, 54%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#D242CB
RGB
210, 66, 203
HSL
303°, 62%, 54%
CMYK
0%, 69%, 3%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D242CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 66, 203

Red: 210 / Green: 66 / Blue: 203

HSL

303°, 62%, 54%

Hue: 303° / Saturation: 62% / Lightness: 54%

CMYK

0%, 69%, 3%, 18%

Cyan: 0% / Magenta: 69% / Yellow: 3% / Key: 18%

What color is #D242CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D242CB to RGB:

rgb(210, 66, 203)HEX to RGB Converter →

HEX to HSL

Convert #D242CB to HSL:

hsl(303, 62%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #D242CB to CMYK:

cmyk(0%, 69%, 3%, 18%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #D242CB has RGB (210, 66, 203) and HSL (303°, 62%, 54%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D242CB is #41D248, creating high-contrast pairings. For softer combinations, try analogous colors like #9141D2.

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

Contrast with #D242CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D242CB?

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

What is the RGB value of #D242CB?

#D242CB in RGB is (210, 66, 203) - 210 red, 66 green, and 203 blue.

How to use #D242CB in CSS?

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

What colors go well with #D242CB?

#41D248 (complementary), #9141D2 (analogous), and #A1269B (lighter shade) work well with #D242CB.