#F278DA Color Information

Hex color code: #F278DA

The hex color #F278DA is a striking magenta with RGB values of (242, 120, 218) and HSL of (312°, 82%, 71%). It is popular in mobile app design.

Try:
Color NameViolet
HEX
#F278DA
RGB
242, 120, 218
HSL
312°, 82%, 71%
CMYK
0%, 50%, 10%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F278DA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 120, 218

Red: 242 / Green: 120 / Blue: 218

HSL

312°, 82%, 71%

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

CMYK

0%, 50%, 10%, 5%

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

What color is #F278DA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F278DA to RGB:

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

HEX to HSL

Convert #F278DA to HSL:

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

HEX to CMYK

Convert #F278DA to CMYK:

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

Color Meaning and Usage

A bold magenta tone, #F278DA has RGB (242, 120, 218) and HSL (312°, 82%, 71%). Known for evoking energy and excitement, this highly saturated hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F278DA is #78F291, creating high-contrast pairings. For softer combinations, try analogous colors like #CD78F2.

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

Contrast with #F278DA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F278DA?

#F278DA is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F278DA?

#F278DA in RGB is (242, 120, 218) - 242 red, 120 green, and 218 blue.

How to use #F278DA in CSS?

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

What colors go well with #F278DA?

#78F291 (complementary), #CD78F2 (analogous), and #EB33C6 (lighter shade) work well with #F278DA.