#F08AD5 Color Information

Hex color code: #F08AD5

#F08AD5 is a eye-catching magenta color. In RGB it is (240, 138, 213), and in HSL it is (316°, 77%, 74%). It is popular in mobile app design.

Try:
Color NameViolet
HEX
#F08AD5
RGB
240, 138, 213
HSL
316°, 77%, 74%
CMYK
0%, 43%, 11%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F08AD5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 138, 213

Red: 240 / Green: 138 / Blue: 213

HSL

316°, 77%, 74%

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

CMYK

0%, 43%, 11%, 6%

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

What color is #F08AD5?

#F08AD5 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F08AD5 to RGB:

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

HEX to HSL

Convert #F08AD5 to HSL:

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

HEX to CMYK

Convert #F08AD5 to CMYK:

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

Color Meaning and Usage

#F08AD5 is a vivid magenta color with RGB values of 240, 138, 213 and HSL of 316°, 77%, 74%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F08AD5 is #8AF0A5, creating high-contrast pairings. For softer combinations, try analogous colors like #D88AF0.

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

Contrast with #F08AD5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F08AD5?

#F08AD5 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #F08AD5?

#F08AD5 in RGB is (240, 138, 213) - 240 red, 138 green, and 213 blue.

How to use #F08AD5 in CSS?

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

What colors go well with #F08AD5?

#8AF0A5 (complementary), #D88AF0 (analogous), and #E746BC (lighter shade) work well with #F08AD5.