What is hex #FFB4E1 color?

 
The hex code #FFB4E1 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 88% blue, resulting in rgb(255, 180, 225) and hsl(324, 100%, 85%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 29%, 12%, 0%).
In the HSV/HSB scale, #FFB4E1 features a hue of 324°, 29% saturation, and 100% brightness.

Hex #FFB4E1 Color Codes & Conversions

Closest Named Color
Cotton Candy (#FFBCD9)
Hex Code #FFB4E1
Hex8 (RGBA Hex) #FFB4E1FF
RGB (CSS) rgb(255, 180, 225)
RGBA (CSS) rgba(255, 180, 225, 1)
HSL (CSS) hsl(324, 100%, 85%)
HSLA (CSS) hsla(324, 100%, 85%, 1)
HSV / HSB (324°, 29%, 100%)
CMYK Values (0%, 29%, 12%, 0%)
OKLCH (Modern CSS) oklch(85.4% 0.103 342.8)
CIE-LAB (D65) 81.48, 33.83, -11.59
CIE XYZ 71.15, 59.34, 78.93
Decimal / Binary 16757985
11111111 10110100 11100001

Closest Standards & Equivalents

Closest Web Safe
#FFCCCC
Inverse Color
#004B1E
Complementary Color
#B4FFD2
Closest Pantone®
Pantone Magenta 0521 C
Closest RAL
RAL 9010 [Pure white]

#FFB4E1 Grayscale Equivalents

Average
#DCDCDC [Gainsboro]
Lightness (Desaturation)
#DADADA
Weighted (BT601)
#D0D0D0
Luma (BT709)
#C7C7C7

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFB4E1.

Contrast Ratio: 1.63:1
AA Fail AAA Fail

Black Text on #FFB4E1

Sample preview of readable typography on top of #FFB4E1.

Contrast Ratio: 12.87:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFB4E1

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

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

Hex #FFB4E1 Color Palettes

Complementary Palette

The complementary color of #FFB4E1 is #B4FFD2. 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 #FFB4E1 pairs with #F7B4FF and #FFB4BB, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFB4E1 uses #B4E1FF and #E1FFB4, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFB4E1 combines #E1FFB4, #B4FFD2 and #D2B4FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFB4E1 pairs with #FFF7B4, #B4FFD2 and #B4BBFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFB4E1

Tints

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

Tones

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

Shades

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

Hex #FFB4E1 in Programming & CSS Frameworks

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

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