#F042BC Color Information

Hex color code: #F042BC

The hex color #F042BC is a dynamic magenta with RGB values of (240, 66, 188) and HSL of (318°, 85%, 60%). It is typically applied in digital products.

Try:
Color NameHot Pink
HEX
#F042BC
RGB
240, 66, 188
HSL
318°, 85%, 60%
CMYK
0%, 73%, 22%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F042BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 66, 188

Red: 240 / Green: 66 / Blue: 188

HSL

318°, 85%, 60%

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

CMYK

0%, 73%, 22%, 6%

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

What color is #F042BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F042BC to RGB:

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

HEX to HSL

Convert #F042BC to HSL:

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

HEX to CMYK

Convert #F042BC to CMYK:

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

Color Meaning and Usage

A dynamic magenta tone, #F042BC has RGB (240, 66, 188) and HSL (318°, 85%, 60%). 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 #F042BC is #42F076, creating high-contrast pairings. For softer combinations, try analogous colors like #CD42F0.

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

Contrast with #F042BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F042BC?

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

What is the RGB value of #F042BC?

#F042BC in RGB is (240, 66, 188) - 240 red, 66 green, and 188 blue.

How to use #F042BC in CSS?

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

What colors go well with #F042BC?

#42F076 (complementary), #CD42F0 (analogous), and #D4119A (lighter shade) work well with #F042BC.