#F042C1 Color Information

Hex color code: #F042C1

A striking magenta shade, #F042C1 appears as (240, 66, 193) in RGB and (316°, 85%, 60%) in HSL. It is popular in mobile app design.

Try:
Color NameHot Pink
HEX
#F042C1
RGB
240, 66, 193
HSL
316°, 85%, 60%
CMYK
0%, 73%, 20%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F042C1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 66, 193

Red: 240 / Green: 66 / Blue: 193

HSL

316°, 85%, 60%

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

CMYK

0%, 73%, 20%, 6%

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

What color is #F042C1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F042C1 to RGB:

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

HEX to HSL

Convert #F042C1 to HSL:

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

HEX to CMYK

Convert #F042C1 to CMYK:

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

Color Meaning and Usage

#F042C1 is a bold magenta color with RGB values of 240, 66, 193 and HSL of 316°, 85%, 60%. This highly saturated hue evokes energy and excitement, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F042C1 is #42F071, creating high-contrast pairings. For softer combinations, try analogous colors like #C742F0.

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

Contrast with #F042C1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F042C1?

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

What is the RGB value of #F042C1?

#F042C1 in RGB is (240, 66, 193) - 240 red, 66 green, and 193 blue.

How to use #F042C1 in CSS?

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

What colors go well with #F042C1?

#42F071 (complementary), #C742F0 (analogous), and #D411A0 (lighter shade) work well with #F042C1.