What is hex #FF40DC color?

 
The hex code #FF40DC 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 86% blue, resulting in rgb(255, 64, 220) and hsl(311, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 75%, 14%, 0%).
In the HSV/HSB scale, #FF40DC features a hue of 311°, 75% saturation, and 100% brightness.

Hex #FF40DC Color Codes & Conversions

Closest Named Color
Frostbite (#E936A7)
Hex Code #FF40DC
Hex8 (RGBA Hex) #FF40DCFF
RGB (CSS) rgb(255, 64, 220)
RGBA (CSS) rgba(255, 64, 220, 1)
HSL (CSS) hsl(311, 100%, 63%)
HSLA (CSS) hsla(311, 100%, 63%, 1)
HSV / HSB (311°, 75%, 100%)
CMYK Values (0%, 75%, 14%, 0%)
OKLCH (Modern CSS) oklch(70.6% 0.269 336.8)
CIE-LAB (D65) 61.74, 84.06, -39.04
CIE XYZ 55.99, 30.10, 70.56
Decimal / Binary 16728284
11111111 01000000 11011100

Closest Standards & Equivalents

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

#FF40DC Grayscale Equivalents

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

WCAG 2.1 Color Contrast & Accessibility

Check how #FF40DC 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 #FF40DC

Sample preview of readable typography on top of #FF40DC.

Contrast Ratio: 2.99:1
AA Fail AAA Fail

Black Text on #FF40DC

Sample preview of readable typography on top of #FF40DC.

Contrast Ratio: 7.02:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FF40DC

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

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

Hex #FF40DC Color Palettes

Complementary Palette

The complementary color of #FF40DC is #40FF63. 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 #FF40DC pairs with #C240FF and #FF407C, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FF40DC uses #40DCFF and #DCFF40, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF40DC combines #DCFF40, #40FF63 and #6340FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF40DC pairs with #FFC240, #40FF63 and #407CFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF40DC

Tints

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

Tones

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

Shades

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

Hex #FF40DC in Programming & CSS Frameworks

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

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