#F278D7 Color Information

Hex color code: #F278D7

#F278D7 is a striking magenta color. In RGB it is (242, 120, 215), and in HSL it is (313°, 82%, 71%). It is often used for branding and logos.

Try:
Color NameViolet
HEX
#F278D7
RGB
242, 120, 215
HSL
313°, 82%, 71%
CMYK
0%, 50%, 11%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F278D7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 120, 215

Red: 242 / Green: 120 / Blue: 215

HSL

313°, 82%, 71%

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

CMYK

0%, 50%, 11%, 5%

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

What color is #F278D7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F278D7 to RGB:

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

HEX to HSL

Convert #F278D7 to HSL:

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

HEX to CMYK

Convert #F278D7 to CMYK:

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

Color Meaning and Usage

A eye-catching magenta tone, #F278D7 has RGB (242, 120, 215) and HSL (313°, 82%, 71%). Known for evoking energy and excitement, this highly saturated hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F278D7 is #78F293, creating high-contrast pairings. For softer combinations, try analogous colors like #CF78F2.

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

Contrast with #F278D7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F278D7?

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

What is the RGB value of #F278D7?

#F278D7 in RGB is (242, 120, 215) - 242 red, 120 green, and 215 blue.

How to use #F278D7 in CSS?

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

What colors go well with #F278D7?

#78F293 (complementary), #CF78F2 (analogous), and #EB33C3 (lighter shade) work well with #F278D7.