What is hex #FFB2EC color?
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, 70% green and 93% blue, resulting in rgb(255, 178, 236) and hsl(315, 100%, 85%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 30%, 7%, 0%).
In the HSV/HSB scale, #FFB2EC features a hue of 315°, 30% saturation, and 100% brightness.
Hex #FFB2EC Color Codes & Conversions
| Closest Named Color | Cotton Candy (#FFBCD9) |
| Hex Code | #FFB2EC |
| Hex8 (RGBA Hex) | #FFB2ECFF |
| RGB (CSS) | rgb(255, 178, 236) |
| RGBA (CSS) | rgba(255, 178, 236, 1) |
| HSL (CSS) | hsl(315, 100%, 85%) |
| HSLA (CSS) | hsla(315, 100%, 85%, 1) |
| HSV / HSB | (315°, 30%, 100%) |
| CMYK Values | (0%, 30%, 7%, 0%) |
| OKLCH (Modern CSS) | oklch(85.4% 0.115 335.9) |
| CIE-LAB (D65) | 81.38, 36.69, -17.66 |
| CIE XYZ | 72.30, 59.16, 86.95 |
| Decimal / Binary |
16757484
11111111 10110010 11101100 |
Closest Standards & Equivalents
| Closest Web Safe | #FF99FF |
| Inverse Color | #004D13 |
| Complementary Color | #B2FFC5 |
| Closest Pantone® | Pantone Magenta 0521 C |
| Closest RAL | RAL 9016 [Traffic white] |
#FFB2EC Grayscale Equivalents
| Average | #DFDFDF |
| Lightness (Desaturation) | #D9D9D9 |
| Weighted (BT601) | #D0D0D0 |
| Luma (BT709) | #C7C7C7 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFB2EC 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 #FFB2EC
Sample preview of readable typography on top of #FFB2EC.
Black Text on #FFB2EC
Sample preview of readable typography on top of #FFB2EC.
HTML / CSS Live Previews & Snippets for #FFB2EC
Preview #FFB2EC in real UI elements and copy ready-to-use CSS rules.
background-color: #FFB2EC;
color: #FFB2EC;
border: 2px solid #FFB2EC;
:root {
--color-primary: #FFB2EC;
--color-primary-rgb: 255, 178, 236;
--color-complementary: #B2FFC5;
}
.btn-accent {
background-color: #FFB2EC;
color: #000000;
}
Hex #FFB2EC Color Palettes
Complementary Palette
The complementary color of #FFB2EC is #B2FFC5. 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 #FFB2EC pairs with #EBB2FF and #FFB2C5, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFB2EC pairs with #B2FFEB and #C5FFB2, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFB2EC uses #B2ECFF and #ECFFB2, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFB2EC combines #ECFFB2, #B2FFC5 and #C5B2FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFB2EC pairs with #FFEBB2, #B2FFC5 and #B2C5FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFB2EC
Tints
Tints are created by mixing #FFB2EC with white, producing lighter variations.
Tones
Tones are created by mixing #FFB2EC with gray, softening saturation.
Shades
Shades result from mixing #FFB2EC with black, creating deeper variations.
Hex #FFB2EC in Programming & CSS Frameworks
Copy the exact syntax for #FFB2EC in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFB2EC |
| Tailwind CSS | bg-[#FFB2EC] text-[#FFB2EC] |
| Java (AWT) | new Color(255,178,236); |
| Python | Color("#FFB2EC") |
| .NET (C#) | Color.FromArgb(255, 255,178,236); |
| Swift / iOS | UIColor(red: 1, green: 0.7, blue: 0.93, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 178, 236) |