#D266E5 Color Information

Hex color code: #D266E5

A bold magenta shade, #D266E5 appears as (210, 102, 229) in RGB and (291°, 71%, 65%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#D266E5
RGB
210, 102, 229
HSL
291°, 71%, 65%
CMYK
8%, 55%, 0%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D266E5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 102, 229

Red: 210 / Green: 102 / Blue: 229

HSL

291°, 71%, 65%

Hue: 291° / Saturation: 71% / Lightness: 65%

CMYK

8%, 55%, 0%, 10%

Cyan: 8% / Magenta: 55% / Yellow: 0% / Key: 10%

What color is #D266E5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D266E5 to RGB:

rgb(210, 102, 229)HEX to RGB Converter →

HEX to HSL

Convert #D266E5 to HSL:

hsl(291, 71%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #D266E5 to CMYK:

cmyk(8%, 55%, 0%, 10%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #D266E5 has RGB (210, 102, 229) and HSL (291°, 71%, 65%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D266E5 is #79E566, creating high-contrast pairings. For softer combinations, try analogous colors like #9366E5.

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

Contrast with #D266E5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D266E5?

#D266E5 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D266E5?

#D266E5 in RGB is (210, 102, 229) - 210 red, 102 green, and 229 blue.

How to use #D266E5 in CSS?

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

What colors go well with #D266E5?

#79E566 (complementary), #9366E5 (analogous), and #BF25DA (lighter shade) work well with #D266E5.