#CE40C7 Color Information

Hex color code: #CE40C7

A neutral magenta shade, #CE40C7 appears as (206, 64, 199) in RGB and (303°, 59%, 53%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#CE40C7
RGB
206, 64, 199
HSL
303°, 59%, 53%
CMYK
0%, 69%, 3%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CE40C7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

206, 64, 199

Red: 206 / Green: 64 / Blue: 199

HSL

303°, 59%, 53%

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

CMYK

0%, 69%, 3%, 19%

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

What color is #CE40C7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CE40C7 to RGB:

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

HEX to HSL

Convert #CE40C7 to HSL:

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

HEX to CMYK

Convert #CE40C7 to CMYK:

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

Color Meaning and Usage

#CE40C7 is a balanced magenta color with RGB values of 206, 64, 199 and HSL of 303°, 59%, 53%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CE40C7 is #40CE48, creating high-contrast pairings. For softer combinations, try analogous colors like #8E40CE.

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

Contrast with #CE40C7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CE40C7?

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

What is the RGB value of #CE40C7?

#CE40C7 in RGB is (206, 64, 199) - 206 red, 64 green, and 199 blue.

How to use #CE40C7 in CSS?

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

What colors go well with #CE40C7?

#40CE48 (complementary), #8E40CE (analogous), and #9A2894 (lighter shade) work well with #CE40C7.