#F04288 Color Information

Hex color code: #F04288

A vivid magenta shade, #F04288 appears as (240, 66, 136) in RGB and (336°, 85%, 60%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#F04288
RGB
240, 66, 136
HSL
336°, 85%, 60%
CMYK
0%, 73%, 43%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F04288; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 66, 136

Red: 240 / Green: 66 / Blue: 136

HSL

336°, 85%, 60%

Hue: 336° / Saturation: 85% / Lightness: 60%

CMYK

0%, 73%, 43%, 6%

Cyan: 0% / Magenta: 73% / Yellow: 43% / Key: 6%

What color is #F04288?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F04288 to RGB:

rgb(240, 66, 136)HEX to RGB Converter →

HEX to HSL

Convert #F04288 to HSL:

hsl(336, 85%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #F04288 to CMYK:

cmyk(0%, 73%, 43%, 6%)Color Converter →

Color Meaning and Usage

#F04288 is a dynamic magenta color with RGB values of 240, 66, 136 and HSL of 336°, 85%, 60%. This highly saturated hue evokes energy and excitement, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F04288 is #42F0AA, creating high-contrast pairings. For softer combinations, try analogous colors like #F042DE.

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

Contrast with #F04288

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

Contrast Ratio: 5.84:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F04288?

#F04288 is a dynamic magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F04288?

#F04288 in RGB is (240, 66, 136) - 240 red, 66 green, and 136 blue.

How to use #F04288 in CSS?

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

What colors go well with #F04288?

#42F0AA (complementary), #F042DE (analogous), and #D4115F (lighter shade) work well with #F04288.