#F240DA Color Information

Hex color code: #F240DA

The hex color #F240DA is a bold magenta with RGB values of (242, 64, 218) and HSL of (308°, 87%, 60%). It is frequently seen in web interfaces.

Try:
Color NameHot Pink
HEX
#F240DA
RGB
242, 64, 218
HSL
308°, 87%, 60%
CMYK
0%, 74%, 10%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F240DA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 64, 218

Red: 242 / Green: 64 / Blue: 218

HSL

308°, 87%, 60%

Hue: 308° / Saturation: 87% / Lightness: 60%

CMYK

0%, 74%, 10%, 5%

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

What color is #F240DA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F240DA to RGB:

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

HEX to HSL

Convert #F240DA to HSL:

hsl(308, 87%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #F240DA to CMYK:

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

Color Meaning and Usage

#F240DA is a vivid magenta color with RGB values of 242, 64, 218 and HSL of 308°, 87%, 60%. This highly saturated hue evokes energy and excitement, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F240DA is #40F258, creating high-contrast pairings. For softer combinations, try analogous colors like #B140F2.

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

Contrast with #F240DA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F240DA?

#F240DA is a vivid magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F240DA?

#F240DA in RGB is (242, 64, 218) - 242 red, 64 green, and 218 blue.

How to use #F240DA in CSS?

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

What colors go well with #F240DA?

#40F258 (complementary), #B140F2 (analogous), and #D70FBC (lighter shade) work well with #F240DA.