#F297F4 Color Information

Hex color code: #F297F4

A soft magenta shade, #F297F4 appears as (242, 151, 244) in RGB and (299°, 81%, 77%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#F297F4
RGB
242, 151, 244
HSL
299°, 81%, 77%
CMYK
1%, 38%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F297F4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 151, 244

Red: 242 / Green: 151 / Blue: 244

HSL

299°, 81%, 77%

Hue: 299° / Saturation: 81% / Lightness: 77%

CMYK

1%, 38%, 0%, 4%

Cyan: 1% / Magenta: 38% / Yellow: 0% / Key: 4%

What color is #F297F4?

#F297F4 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F297F4 to RGB:

rgb(242, 151, 244)HEX to RGB Converter →

HEX to HSL

Convert #F297F4 to HSL:

hsl(299, 81%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #F297F4 to CMYK:

cmyk(1%, 38%, 0%, 4%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #F297F4 has RGB (242, 151, 244) and HSL (299°, 81%, 77%). Known for evoking energy and excitement, this highly saturated hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F297F4 is #96F495, creating high-contrast pairings. For softer combinations, try analogous colors like #C395F4.

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

Contrast with #F297F4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F297F4?

#F297F4 is a delicate magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F297F4?

#F297F4 in RGB is (242, 151, 244) - 242 red, 151 green, and 244 blue.

How to use #F297F4 in CSS?

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

What colors go well with #F297F4?

#96F495 (complementary), #C395F4 (analogous), and #EA50ED (lighter shade) work well with #F297F4.