What is hex #ECB4E9 color?

 
The hex code #ECB4E9 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 93% red, 71% green and 91% blue, resulting in rgb(236, 180, 233) and hsl(303, 60%, 82%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 24%, 1%, 7%).
In the HSV/HSB scale, #ECB4E9 features a hue of 303°, 24% saturation, and 93% brightness.

Hex #ECB4E9 Color Codes & Conversions

Closest Named Color
Cotton Candy (#FFBCD9)
Hex Code #ECB4E9
Hex8 (RGBA Hex) #ECB4E9FF
RGB (CSS) rgb(236, 180, 233)
RGBA (CSS) rgba(236, 180, 233, 1)
HSL (CSS) hsl(303, 60%, 82%)
HSLA (CSS) hsla(303, 60%, 82%, 1)
HSV / HSB (303°, 24%, 93%)
CMYK Values (0%, 24%, 1%, 7%)
OKLCH (Modern CSS) oklch(83.7% 0.095 328.1)
CIE-LAB (D65) 79.82, 28.90, -18.59
CIE XYZ 65.62, 56.36, 84.50
Decimal / Binary 15512809
11101100 10110100 11101001

Closest Standards & Equivalents

Closest Web Safe
#FFCCFF
Inverse Color
#134B16
Complementary Color
#B4ECB7
Closest Pantone®
Pantone 243 C
Closest RAL
RAL 9003 [Signal white]

#ECB4E9 Grayscale Equivalents

Average
#D8D8D8
Lightness (Desaturation)
#D0D0D0
Weighted (BT601)
#CBCBCB
Luma (BT709)
#C4C4C4

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #ECB4E9.

Contrast Ratio: 1.71:1
AA Fail AAA Fail

Black Text on #ECB4E9

Sample preview of readable typography on top of #ECB4E9.

Contrast Ratio: 12.27:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #ECB4E9

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

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

Hex #ECB4E9 Color Palettes

Complementary Palette

The complementary color of #ECB4E9 is #B4ECB7. 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 #ECB4E9 pairs with #D3B4EC and #ECB4CD, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #ECB4E9 uses #B4E9EC and #E9ECB4, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #ECB4E9 combines #E9ECB4, #B4ECB7 and #B7B4EC around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #ECB4E9 pairs with #ECD3B4, #B4ECB7 and #B4CDEC spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #ECB4E9

Tints

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

Tones

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

Shades

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

Hex #ECB4E9 in Programming & CSS Frameworks

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

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