#F28FD7 Color Information

Hex color code: #F28FD7

A bold magenta shade, #F28FD7 appears as (242, 143, 215) in RGB and (316°, 79%, 75%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#F28FD7
RGB
242, 143, 215
HSL
316°, 79%, 75%
CMYK
0%, 41%, 11%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F28FD7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 143, 215

Red: 242 / Green: 143 / Blue: 215

HSL

316°, 79%, 75%

Hue: 316° / Saturation: 79% / Lightness: 75%

CMYK

0%, 41%, 11%, 5%

Cyan: 0% / Magenta: 41% / Yellow: 11% / Key: 5%

What color is #F28FD7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F28FD7 to RGB:

rgb(242, 143, 215)HEX to RGB Converter →

HEX to HSL

Convert #F28FD7 to HSL:

hsl(316, 79%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #F28FD7 to CMYK:

cmyk(0%, 41%, 11%, 5%)Color Converter →

Color Meaning and Usage

#F28FD7 is a dynamic magenta color with RGB values of 242, 143, 215 and HSL of 316°, 79%, 75%. 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 #F28FD7 is #8DF2A8, creating high-contrast pairings. For softer combinations, try analogous colors like #DA8DF2.

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

Contrast with #F28FD7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F28FD7?

#F28FD7 is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #F28FD7?

#F28FD7 in RGB is (242, 143, 215) - 242 red, 143 green, and 215 blue.

How to use #F28FD7 in CSS?

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

What colors go well with #F28FD7?

#8DF2A8 (complementary), #DA8DF2 (analogous), and #EA48BF (lighter shade) work well with #F28FD7.