#F28CAB Color Information

Hex color code: #F28CAB

#F28CAB is a bold magenta color. In RGB it is (242, 140, 171), and in HSL it is (342°, 80%, 75%). It is frequently seen in web interfaces.

Try:
Color NameHot Pink
HEX
#F28CAB
RGB
242, 140, 171
HSL
342°, 80%, 75%
CMYK
0%, 42%, 29%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F28CAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 140, 171

Red: 242 / Green: 140 / Blue: 171

HSL

342°, 80%, 75%

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

CMYK

0%, 42%, 29%, 5%

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

What color is #F28CAB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F28CAB to RGB:

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

HEX to HSL

Convert #F28CAB to HSL:

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

HEX to CMYK

Convert #F28CAB to CMYK:

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

Color Meaning and Usage

A vivid magenta tone, #F28CAB has RGB (242, 140, 171) and HSL (342°, 80%, 75%). Known for evoking warmth and passion, this red-orange hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F28CAB is #8CF2D4, creating high-contrast pairings. For softer combinations, try analogous colors like #F28CDE.

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

Contrast with #F28CAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F28CAB?

#F28CAB is a vivid magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #F28CAB?

#F28CAB in RGB is (242, 140, 171) - 242 red, 140 green, and 171 blue.

How to use #F28CAB in CSS?

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

What colors go well with #F28CAB?

#8CF2D4 (complementary), #F28CDE (analogous), and #EB4778 (lighter shade) work well with #F28CAB.