#F287D6 Color Information

Hex color code: #F287D6

The hex color #F287D6 is a dynamic magenta with RGB values of (242, 135, 214) and HSL of (316°, 80%, 74%). It is typically applied in digital products.

Try:
Color NameViolet
HEX
#F287D6
RGB
242, 135, 214
HSL
316°, 80%, 74%
CMYK
0%, 44%, 12%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F287D6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 135, 214

Red: 242 / Green: 135 / Blue: 214

HSL

316°, 80%, 74%

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

CMYK

0%, 44%, 12%, 5%

Cyan: 0% / Magenta: 44% / Yellow: 12% / Key: 5%

What color is #F287D6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F287D6 to RGB:

rgb(242, 135, 214)HEX to RGB Converter →

HEX to HSL

Convert #F287D6 to HSL:

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

HEX to CMYK

Convert #F287D6 to CMYK:

cmyk(0%, 44%, 12%, 5%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #F287D6 has RGB (242, 135, 214) and HSL (316°, 80%, 74%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F287D6 is #88F2A4, creating high-contrast pairings. For softer combinations, try analogous colors like #D988F2.

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

Contrast with #F287D6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F287D6?

#F287D6 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #F287D6?

#F287D6 in RGB is (242, 135, 214) - 242 red, 135 green, and 214 blue.

How to use #F287D6 in CSS?

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

What colors go well with #F287D6?

#88F2A4 (complementary), #D988F2 (analogous), and #EA43BD (lighter shade) work well with #F287D6.