#CE42C8 Color Information

Hex color code: #CE42C8

The hex color #CE42C8 is a understated magenta with RGB values of (206, 66, 200) and HSL of (303°, 59%, 53%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#CE42C8
RGB
206, 66, 200
HSL
303°, 59%, 53%
CMYK
0%, 68%, 3%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CE42C8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

206, 66, 200

Red: 206 / Green: 66 / Blue: 200

HSL

303°, 59%, 53%

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

CMYK

0%, 68%, 3%, 19%

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

What color is #CE42C8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CE42C8 to RGB:

rgb(206, 66, 200)HEX to RGB Converter →

HEX to HSL

Convert #CE42C8 to HSL:

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

HEX to CMYK

Convert #CE42C8 to CMYK:

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

Color Meaning and Usage

A understated magenta tone, #CE42C8 has RGB (206, 66, 200) and HSL (303°, 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 #CE42C8 is #40CE48, creating high-contrast pairings. For softer combinations, try analogous colors like #8E40CE.

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

Contrast with #CE42C8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CE42C8?

#CE42C8 is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CE42C8?

#CE42C8 in RGB is (206, 66, 200) - 206 red, 66 green, and 200 blue.

How to use #CE42C8 in CSS?

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

What colors go well with #CE42C8?

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