#CD187C Color Information

Hex color code: #CD187C

#CD187C is a eye-catching magenta color. In RGB it is (205, 24, 124), and in HSL it is (327°, 79%, 45%). It is popular in mobile app design.

Try:
Color NameMedium Violet Red
HEX
#CD187C
RGB
205, 24, 124
HSL
327°, 79%, 45%
CMYK
0%, 88%, 40%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CD187C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

205, 24, 124

Red: 205 / Green: 24 / Blue: 124

HSL

327°, 79%, 45%

Hue: 327° / Saturation: 79% / Lightness: 45%

CMYK

0%, 88%, 40%, 20%

Cyan: 0% / Magenta: 88% / Yellow: 40% / Key: 20%

What color is #CD187C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CD187C to RGB:

rgb(205, 24, 124)HEX to RGB Converter →

HEX to HSL

Convert #CD187C to HSL:

hsl(327, 79%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #CD187C to CMYK:

cmyk(0%, 88%, 40%, 20%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #CD187C has RGB (205, 24, 124) and HSL (327°, 79%, 45%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CD187C is #18CD6A, creating high-contrast pairings. For softer combinations, try analogous colors like #C418CD.

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

Contrast with #CD187C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CD187C?

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

What is the RGB value of #CD187C?

#CD187C in RGB is (205, 24, 124) - 205 red, 24 green, and 124 blue.

How to use #CD187C in CSS?

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

What colors go well with #CD187C?

#18CD6A (complementary), #C418CD (analogous), and #891053 (lighter shade) work well with #CD187C.