What is hex #FFB4E8 color?

 
The hex code #FFB4E8 is closest to the named color Cotton Candy (#FFBCD9).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 100% red, 71% green and 91% blue, resulting in rgb(255, 180, 232) and hsl(318, 100%, 85%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 29%, 9%, 0%).
In the HSV/HSB scale, #FFB4E8 features a hue of 318°, 29% saturation, and 100% brightness.

Hex #FFB4E8 Color Codes & Conversions

Closest Named Color
Cotton Candy (#FFBCD9)
Hex Code #FFB4E8
Hex8 (RGBA Hex) #FFB4E8FF
RGB (CSS) rgb(255, 180, 232)
RGBA (CSS) rgba(255, 180, 232, 1)
HSL (CSS) hsl(318, 100%, 85%)
HSLA (CSS) hsla(318, 100%, 85%, 1)
HSV / HSB (318°, 29%, 100%)
CMYK Values (0%, 29%, 9%, 0%)
OKLCH (Modern CSS) oklch(85.6% 0.109 338.4)
CIE-LAB (D65) 81.69, 34.97, -15.04
CIE XYZ 72.13, 59.73, 84.06
Decimal / Binary 16757992
11111111 10110100 11101000

Closest Standards & Equivalents

Closest Web Safe
#FFCCFF
Inverse Color
#004B17
Complementary Color
#B4FFCB
Closest Pantone®
Pantone Magenta 0521 C
Closest RAL
RAL 9012 [Clean room white]

#FFB4E8 Grayscale Equivalents

Average
#DEDEDE
Lightness (Desaturation)
#DADADA
Weighted (BT601)
#D0D0D0
Luma (BT709)
#C8C8C8

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFB4E8.

Contrast Ratio: 1.62:1
AA Fail AAA Fail

Black Text on #FFB4E8

Sample preview of readable typography on top of #FFB4E8.

Contrast Ratio: 12.95:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFB4E8

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

Background Preview
background-color: #FFB4E8;
Typography Color Preview
color: #FFB4E8;
Border & Shadow Preview
border: 2px solid #FFB4E8;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFB4E8;
  --color-primary-rgb: 255, 180, 232;
  --color-complementary: #B4FFCB;
}
.btn-accent {
  background-color: #FFB4E8;
  color: #000000;
}

Hex #FFB4E8 Color Palettes

Complementary Palette

The complementary color of #FFB4E8 is #B4FFCB. 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 #FFB4E8 pairs with #F0B4FF and #FFB4C2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFB4E8 pairs with #B4FFF0 and #C2FFB4, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFB4E8 uses #B4E8FF and #E8FFB4, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFB4E8 combines #E8FFB4, #B4FFCB and #CBB4FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFB4E8 pairs with #FFF0B4, #B4FFCB and #B4C2FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFB4E8

Tints

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

Tones

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

Shades

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

Hex #FFB4E8 in Programming & CSS Frameworks

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

HTML / CSS #FFB4E8
Tailwind CSS bg-[#FFB4E8] text-[#FFB4E8]
Java (AWT) new Color(255,180,232);
Python Color("#FFB4E8")
.NET (C#) Color.FromArgb(255, 255,180,232);
Swift / iOS UIColor(red: 1, green: 0.71, blue: 0.91, alpha: 1)
Kotlin / Android Color.rgb(255, 180, 232)