#D271EF Color Information

Hex color code: #D271EF

A striking magenta shade, #D271EF appears as (210, 113, 239) in RGB and (286°, 80%, 69%) in HSL. It is often used for branding and logos.

Try:
Color NameViolet
HEX
#D271EF
RGB
210, 113, 239
HSL
286°, 80%, 69%
CMYK
12%, 53%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D271EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 113, 239

Red: 210 / Green: 113 / Blue: 239

HSL

286°, 80%, 69%

Hue: 286° / Saturation: 80% / Lightness: 69%

CMYK

12%, 53%, 0%, 6%

Cyan: 12% / Magenta: 53% / Yellow: 0% / Key: 6%

What color is #D271EF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D271EF to RGB:

rgb(210, 113, 239)HEX to RGB Converter →

HEX to HSL

Convert #D271EF to HSL:

hsl(286, 80%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #D271EF to CMYK:

cmyk(12%, 53%, 0%, 6%)Color Converter →

Color Meaning and Usage

#D271EF is a eye-catching magenta color with RGB values of 210, 113, 239 and HSL of 286°, 80%, 69%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D271EF is #8EEF71, creating high-contrast pairings. For softer combinations, try analogous colors like #9271EF.

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

Contrast with #D271EF

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

Contrast Ratio: 7.35:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D271EF?

#D271EF is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D271EF?

#D271EF in RGB is (210, 113, 239) - 210 red, 113 green, and 239 blue.

How to use #D271EF in CSS?

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

What colors go well with #D271EF?

#8EEF71 (complementary), #9271EF (analogous), and #BC2CE8 (lighter shade) work well with #D271EF.