#F0286B Color Information

Hex color code: #F0286B

#F0286B is a vivid magenta color. In RGB it is (240, 40, 107), and in HSL it is (340°, 87%, 55%). It is commonly used in modern UI design.

Try:
Color NameDeep Pink
HEX
#F0286B
RGB
240, 40, 107
HSL
340°, 87%, 55%
CMYK
0%, 83%, 55%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F0286B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 40, 107

Red: 240 / Green: 40 / Blue: 107

HSL

340°, 87%, 55%

Hue: 340° / Saturation: 87% / Lightness: 55%

CMYK

0%, 83%, 55%, 6%

Cyan: 0% / Magenta: 83% / Yellow: 55% / Key: 6%

What color is #F0286B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0286B to RGB:

rgb(240, 40, 107)HEX to RGB Converter →

HEX to HSL

Convert #F0286B to HSL:

hsl(340, 87%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #F0286B to CMYK:

cmyk(0%, 83%, 55%, 6%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #F0286B has RGB (240, 40, 107) and HSL (340°, 87%, 55%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F0286B is #28F0AE, creating high-contrast pairings. For softer combinations, try analogous colors like #F028CF.

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

Contrast with #F0286B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0286B?

#F0286B is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F0286B?

#F0286B in RGB is (240, 40, 107) - 240 red, 40 green, and 107 blue.

How to use #F0286B in CSS?

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

What colors go well with #F0286B?

#28F0AE (complementary), #F028CF (analogous), and #BF0D48 (lighter shade) work well with #F0286B.