#CE40C2 Color Information

Hex color code: #CE40C2

#CE40C2 is a muted magenta color. In RGB it is (206, 64, 194), and in HSL it is (305°, 59%, 53%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#CE40C2
RGB
206, 64, 194
HSL
305°, 59%, 53%
CMYK
0%, 69%, 6%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CE40C2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

206, 64, 194

Red: 206 / Green: 64 / Blue: 194

HSL

305°, 59%, 53%

Hue: 305° / Saturation: 59% / Lightness: 53%

CMYK

0%, 69%, 6%, 19%

Cyan: 0% / Magenta: 69% / Yellow: 6% / Key: 19%

What color is #CE40C2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CE40C2 to RGB:

rgb(206, 64, 194)HEX to RGB Converter →

HEX to HSL

Convert #CE40C2 to HSL:

hsl(305, 59%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #CE40C2 to CMYK:

cmyk(0%, 69%, 6%, 19%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #CE40C2 has RGB (206, 64, 194) and HSL (305°, 59%, 53%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CE40C2 is #40CE4C, creating high-contrast pairings. For softer combinations, try analogous colors like #9340CE.

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

Contrast with #CE40C2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CE40C2?

#CE40C2 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CE40C2?

#CE40C2 in RGB is (206, 64, 194) - 206 red, 64 green, and 194 blue.

How to use #CE40C2 in CSS?

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

What colors go well with #CE40C2?

#40CE4C (complementary), #9340CE (analogous), and #9A2891 (lighter shade) work well with #CE40C2.