#FF0040 Color Information

Hex color code: #FF0040

The hex color #FF0040 is a vivid red with RGB values of (255, 0, 64) and HSL of (345°, 100%, 50%). It is commonly used in modern UI design.

Try:
Color NameCrimson
HEX
#FF0040
RGB
255, 0, 64
HSL
345°, 100%, 50%
CMYK
0%, 100%, 75%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #FF0040; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 0, 64

Red: 255 / Green: 0 / Blue: 64

HSL

345°, 100%, 50%

Hue: 345° / Saturation: 100% / Lightness: 50%

CMYK

0%, 100%, 75%, 0%

Cyan: 0% / Magenta: 100% / Yellow: 75% / Key: 0%

What color is #FF0040?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FF0040 to RGB:

rgb(255, 0, 64)HEX to RGB Converter →

HEX to HSL

Convert #FF0040 to HSL:

hsl(345, 100%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #FF0040 to CMYK:

cmyk(0%, 100%, 75%, 0%)Color Converter →

Color Meaning and Usage

#FF0040 is a eye-catching red color with RGB values of 255, 0, 64 and HSL of 345°, 100%, 50%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #FF0040 is #00FFBF, creating high-contrast pairings. For softer combinations, try analogous colors like #FF00BF.

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

Contrast with #FF0040

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FF0040?

#FF0040 is a eye-catching red color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #FF0040?

#FF0040 in RGB is (255, 0, 64) - 255 red, 0 green, and 64 blue.

How to use #FF0040 in CSS?

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

What colors go well with #FF0040?

#00FFBF (complementary), #FF00BF (analogous), and #B3002D (lighter shade) work well with #FF0040.