#F28CB2 Color Information

Hex color code: #F28CB2

A dynamic magenta shade, #F28CB2 appears as (242, 140, 178) in RGB and (338°, 80%, 75%) in HSL. It is typically applied in digital products.

Try:
Color NameHot Pink
HEX
#F28CB2
RGB
242, 140, 178
HSL
338°, 80%, 75%
CMYK
0%, 42%, 26%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F28CB2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 140, 178

Red: 242 / Green: 140 / Blue: 178

HSL

338°, 80%, 75%

Hue: 338° / Saturation: 80% / Lightness: 75%

CMYK

0%, 42%, 26%, 5%

Cyan: 0% / Magenta: 42% / Yellow: 26% / Key: 5%

What color is #F28CB2?

#F28CB2 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F28CB2 to RGB:

rgb(242, 140, 178)HEX to RGB Converter →

HEX to HSL

Convert #F28CB2 to HSL:

hsl(338, 80%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #F28CB2 to CMYK:

cmyk(0%, 42%, 26%, 5%)Color Converter →

Color Meaning and Usage

#F28CB2 is a bold magenta color with RGB values of 242, 140, 178 and HSL of 338°, 80%, 75%. This red-orange hue evokes warmth and passion, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F28CB2 is #8CF2CD, creating high-contrast pairings. For softer combinations, try analogous colors like #F28CE5.

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

Contrast with #F28CB2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F28CB2?

#F28CB2 is a bold magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #F28CB2?

#F28CB2 in RGB is (242, 140, 178) - 242 red, 140 green, and 178 blue.

How to use #F28CB2 in CSS?

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

What colors go well with #F28CB2?

#8CF2CD (complementary), #F28CE5 (analogous), and #EB4783 (lighter shade) work well with #F28CB2.