#CD12D3 Color Information

Hex color code: #CD12D3

#CD12D3 is a eye-catching magenta color. In RGB it is (205, 18, 211), and in HSL it is (298°, 84%, 45%). It is popular in mobile app design.

Try:
Color NameDark Violet
HEX
#CD12D3
RGB
205, 18, 211
HSL
298°, 84%, 45%
CMYK
3%, 91%, 0%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CD12D3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

205, 18, 211

Red: 205 / Green: 18 / Blue: 211

HSL

298°, 84%, 45%

Hue: 298° / Saturation: 84% / Lightness: 45%

CMYK

3%, 91%, 0%, 17%

Cyan: 3% / Magenta: 91% / Yellow: 0% / Key: 17%

What color is #CD12D3?

#CD12D3 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CD12D3 to RGB:

rgb(205, 18, 211)HEX to RGB Converter →

HEX to HSL

Convert #CD12D3 to HSL:

hsl(298, 84%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #CD12D3 to CMYK:

cmyk(3%, 91%, 0%, 17%)Color Converter →

Color Meaning and Usage

#CD12D3 is a bold magenta color with RGB values of 205, 18, 211 and HSL of 298°, 84%, 45%. This highly saturated hue evokes energy and excitement, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CD12D3 is #19D312, creating high-contrast pairings. For softer combinations, try analogous colors like #6C12D3.

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

Contrast with #CD12D3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CD12D3?

#CD12D3 is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #CD12D3?

#CD12D3 in RGB is (205, 18, 211) - 205 red, 18 green, and 211 blue.

How to use #CD12D3 in CSS?

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

What colors go well with #CD12D3?

#19D312 (complementary), #6C12D3 (analogous), and #880C8D (lighter shade) work well with #CD12D3.