What is hex #FF40DB color?

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

Hex #FF40DB Color Codes & Conversions

Closest Named Color
Frostbite (#E936A7)
Hex Code #FF40DB
Hex8 (RGBA Hex) #FF40DBFF
RGB (CSS) rgb(255, 64, 219)
RGBA (CSS) rgba(255, 64, 219, 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.5% 0.269 337.0)
CIE-LAB (D65) 61.69, 83.93, -38.54
CIE XYZ 55.86, 30.05, 69.86
Decimal / Binary 16728283
11111111 01000000 11011011

Closest Standards & Equivalents

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

#FF40DB Grayscale Equivalents

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

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FF40DB.

Contrast Ratio: 3:1
AA Fail AAA Fail

Black Text on #FF40DB

Sample preview of readable typography on top of #FF40DB.

Contrast Ratio: 7.01:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FF40DB

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

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

Hex #FF40DB Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FF40DB uses #40DBFF and #DBFF40, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF40DB combines #DBFF40, #40FF64 and #6440FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF40DB pairs with #FFC340, #40FF64 and #407BFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF40DB

Tints

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

Tones

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

Shades

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

Hex #FF40DB in Programming & CSS Frameworks

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

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