What is hex #FF40BF color?

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

Hex #FF40BF Color Codes & Conversions

Closest Named Color
Frostbite (#E936A7)
Hex Code #FF40BF
Hex8 (RGBA Hex) #FF40BFFF
RGB (CSS) rgb(255, 64, 191)
RGBA (CSS) rgba(255, 64, 191, 1)
HSL (CSS) hsl(320, 100%, 63%)
HSLA (CSS) hsla(320, 100%, 63%, 1)
HSV / HSB (320°, 75%, 100%)
CMYK Values (0%, 75%, 25%, 0%)
OKLCH (Modern CSS) oklch(69.3% 0.252 345.0)
CIE-LAB (D65) 60.51, 80.40, -24.47
CIE XYZ 52.48, 28.69, 52.05
Decimal / Binary 16728255
11111111 01000000 10111111

Closest Standards & Equivalents

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

#FF40BF Grayscale Equivalents

Average
#AAAAAA
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#888888
Luma (BT709)
#727272

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FF40BF.

Contrast Ratio: 3.12:1
AA Fail AAA Fail

Black Text on #FF40BF

Sample preview of readable typography on top of #FF40BF.

Contrast Ratio: 6.74:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #FF40BF

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

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

Hex #FF40BF Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #FF40BF pairs with #40FFDF and #5FFF40, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF40BF uses #40BFFF and #BFFF40, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF40BF combines #BFFF40, #40FF80 and #8040FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF40BF pairs with #FFDF40, #40FF80 and #405FFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF40BF

Tints

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

Tones

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

Shades

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

Hex #FF40BF in Programming & CSS Frameworks

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

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