#F2A7DA Color Information

Hex color code: #F2A7DA

A light magenta shade, #F2A7DA appears as (242, 167, 218) in RGB and (319°, 74%, 80%) in HSL. It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#F2A7DA
RGB
242, 167, 218
HSL
319°, 74%, 80%
CMYK
0%, 31%, 10%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2A7DA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 167, 218

Red: 242 / Green: 167 / Blue: 218

HSL

319°, 74%, 80%

Hue: 319° / Saturation: 74% / Lightness: 80%

CMYK

0%, 31%, 10%, 5%

Cyan: 0% / Magenta: 31% / Yellow: 10% / Key: 5%

What color is #F2A7DA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2A7DA to RGB:

rgb(242, 167, 218)HEX to RGB Converter →

HEX to HSL

Convert #F2A7DA to HSL:

hsl(319, 74%, 80%)RGB to HSL Converter →

HEX to CMYK

Convert #F2A7DA to CMYK:

cmyk(0%, 31%, 10%, 5%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #F2A7DA has RGB (242, 167, 218) and HSL (319°, 74%, 80%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2A7DA is #A6F2BE, creating high-contrast pairings. For softer combinations, try analogous colors like #E4A6F2.

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

Contrast with #F2A7DA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2A7DA?

#F2A7DA is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #F2A7DA?

#F2A7DA in RGB is (242, 167, 218) - 242 red, 167 green, and 218 blue.

How to use #F2A7DA in CSS?

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

What colors go well with #F2A7DA?

#A6F2BE (complementary), #E4A6F2 (analogous), and #E864BE (lighter shade) work well with #F2A7DA.