#D142CC Color Information

Hex color code: #D142CC

A muted magenta shade, #D142CC appears as (209, 66, 204) in RGB and (302°, 61%, 54%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#D142CC
RGB
209, 66, 204
HSL
302°, 61%, 54%
CMYK
0%, 68%, 2%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D142CC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 66, 204

Red: 209 / Green: 66 / Blue: 204

HSL

302°, 61%, 54%

Hue: 302° / Saturation: 61% / Lightness: 54%

CMYK

0%, 68%, 2%, 18%

Cyan: 0% / Magenta: 68% / Yellow: 2% / Key: 18%

What color is #D142CC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D142CC to RGB:

rgb(209, 66, 204)HEX to RGB Converter →

HEX to HSL

Convert #D142CC to HSL:

hsl(302, 61%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #D142CC to CMYK:

cmyk(0%, 68%, 2%, 18%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #D142CC has RGB (209, 66, 204) and HSL (302°, 61%, 54%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D142CC is #42D147, creating high-contrast pairings. For softer combinations, try analogous colors like #8E42D1.

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

Contrast with #D142CC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D142CC?

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

What is the RGB value of #D142CC?

#D142CC in RGB is (209, 66, 204) - 209 red, 66 green, and 204 blue.

How to use #D142CC in CSS?

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

What colors go well with #D142CC?

#42D147 (complementary), #8E42D1 (analogous), and #A0279C (lighter shade) work well with #D142CC.