#F2789D Color Information

Hex color code: #F2789D

#F2789D is a striking magenta color. In RGB it is (242, 120, 157), and in HSL it is (342°, 82%, 71%). It is popular in mobile app design.

Try:
Color NamePale Violet Red
HEX
#F2789D
RGB
242, 120, 157
HSL
342°, 82%, 71%
CMYK
0%, 50%, 35%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2789D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 120, 157

Red: 242 / Green: 120 / Blue: 157

HSL

342°, 82%, 71%

Hue: 342° / Saturation: 82% / Lightness: 71%

CMYK

0%, 50%, 35%, 5%

Cyan: 0% / Magenta: 50% / Yellow: 35% / Key: 5%

What color is #F2789D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2789D to RGB:

rgb(242, 120, 157)HEX to RGB Converter →

HEX to HSL

Convert #F2789D to HSL:

hsl(342, 82%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #F2789D to CMYK:

cmyk(0%, 50%, 35%, 5%)Color Converter →

Color Meaning and Usage

#F2789D is a eye-catching magenta color with RGB values of 242, 120, 157 and HSL of 342°, 82%, 71%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2789D is #78F2CD, creating high-contrast pairings. For softer combinations, try analogous colors like #F278D9.

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

Contrast with #F2789D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2789D?

#F2789D is a eye-catching magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F2789D?

#F2789D in RGB is (242, 120, 157) - 242 red, 120 green, and 157 blue.

How to use #F2789D in CSS?

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

What colors go well with #F2789D?

#78F2CD (complementary), #F278D9 (analogous), and #EB336A (lighter shade) work well with #F2789D.