#F08AB2 Color Information

Hex color code: #F08AB2

The hex color #F08AB2 is a bold magenta with RGB values of (240, 138, 178) and HSL of (336°, 77%, 74%). It is frequently seen in web interfaces.

Try:
Color NameHot Pink
HEX
#F08AB2
RGB
240, 138, 178
HSL
336°, 77%, 74%
CMYK
0%, 43%, 26%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F08AB2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 138, 178

Red: 240 / Green: 138 / Blue: 178

HSL

336°, 77%, 74%

Hue: 336° / Saturation: 77% / Lightness: 74%

CMYK

0%, 43%, 26%, 6%

Cyan: 0% / Magenta: 43% / Yellow: 26% / Key: 6%

What color is #F08AB2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F08AB2 to RGB:

rgb(240, 138, 178)HEX to RGB Converter →

HEX to HSL

Convert #F08AB2 to HSL:

hsl(336, 77%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #F08AB2 to CMYK:

cmyk(0%, 43%, 26%, 6%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #F08AB2 has RGB (240, 138, 178) and HSL (336°, 77%, 74%). Known for evoking warmth and passion, this red-orange hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F08AB2 is #8AF0C7, creating high-contrast pairings. For softer combinations, try analogous colors like #F08AE6.

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

Contrast with #F08AB2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F08AB2?

#F08AB2 is a striking magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #F08AB2?

#F08AB2 in RGB is (240, 138, 178) - 240 red, 138 green, and 178 blue.

How to use #F08AB2 in CSS?

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

What colors go well with #F08AB2?

#8AF0C7 (complementary), #F08AE6 (analogous), and #E74686 (lighter shade) work well with #F08AB2.