What is hex #FF40DA color?

 
The hex code #FF40DA is closest to the named color Frostbite (#E936A7).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 100% red, 25% green and 85% blue, resulting in rgb(255, 64, 218) and hsl(312, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 75%, 15%, 0%).
In the HSV/HSB scale, #FF40DA features a hue of 312°, 75% saturation, and 100% brightness.

Hex #FF40DA Color Codes & Conversions

Closest Named Color
Frostbite (#E936A7)
Hex Code #FF40DA
Hex8 (RGBA Hex) #FF40DAFF
RGB (CSS) rgb(255, 64, 218)
RGBA (CSS) rgba(255, 64, 218, 1)
HSL (CSS) hsl(312, 100%, 63%)
HSLA (CSS) hsla(312, 100%, 63%, 1)
HSV / HSB (312°, 75%, 100%)
CMYK Values (0%, 75%, 15%, 0%)
OKLCH (Modern CSS) oklch(70.5% 0.268 337.3)
CIE-LAB (D65) 61.65, 83.80, -38.05
CIE XYZ 55.73, 29.99, 69.17
Decimal / Binary 16728282
11111111 01000000 11011010

Closest Standards & Equivalents

Closest Web Safe
#FF33CC
Inverse Color
#00BF25
Complementary Color
#40FF65
Closest Pantone®
Pantone 806 C
Closest RAL
RAL 4003 [Heather violet]

#FF40DA Grayscale Equivalents

Average
#B3B3B3
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#8B8B8B
Luma (BT709)
#747474

WCAG 2.1 Color Contrast & Accessibility

Check how #FF40DA complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #FF40DA

Sample preview of readable typography on top of #FF40DA.

Contrast Ratio: 3:1
AA Fail AAA Fail

Black Text on #FF40DA

Sample preview of readable typography on top of #FF40DA.

Contrast Ratio: 7:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FF40DA

Preview #FF40DA in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FF40DA;
Typography Color Preview
color: #FF40DA;
Border & Shadow Preview
border: 2px solid #FF40DA;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FF40DA;
  --color-primary-rgb: 255, 64, 218;
  --color-complementary: #40FF65;
}
.btn-accent {
  background-color: #FF40DA;
  color: #000000;
}

Hex #FF40DA Color Palettes

Complementary Palette

The complementary color of #FF40DA is #40FF65. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #FF40DA pairs with #C440FF and #FF407A, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF40DA pairs with #40FFC4 and #7AFF40, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF40DA uses #40DAFF and #DAFF40, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF40DA combines #DAFF40, #40FF65 and #6540FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF40DA pairs with #FFC440, #40FF65 and #407AFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF40DA

Tints

Tints are created by mixing #FF40DA with white, producing lighter variations.

Tones

Tones are created by mixing #FF40DA with gray, softening saturation.

Shades

Shades result from mixing #FF40DA with black, creating deeper variations.

Hex #FF40DA in Programming & CSS Frameworks

Copy the exact syntax for #FF40DA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FF40DA
Tailwind CSS bg-[#FF40DA] text-[#FF40DA]
Java (AWT) new Color(255,64,218);
Python Color("#FF40DA")
.NET (C#) Color.FromArgb(255, 255,64,218);
Swift / iOS UIColor(red: 1, green: 0.25, blue: 0.85, alpha: 1)
Kotlin / Android Color.rgb(255, 64, 218)