What is hex #FFAFDC color?

 
The hex code #FFAFDC 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, 69% green and 86% blue, resulting in rgb(255, 175, 220) and hsl(326, 100%, 84%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 31%, 14%, 0%).
In the HSV/HSB scale, #FFAFDC features a hue of 326°, 31% saturation, and 100% brightness.

Hex #FFAFDC Color Codes & Conversions

Closest Named Color
Cotton Candy (#FFBCD9)
Hex Code #FFAFDC
Hex8 (RGBA Hex) #FFAFDCFF
RGB (CSS) rgb(255, 175, 220)
RGBA (CSS) rgba(255, 175, 220, 1)
HSL (CSS) hsl(326, 100%, 84%)
HSLA (CSS) hsla(326, 100%, 84%, 1)
HSV / HSB (326°, 31%, 100%)
CMYK Values (0%, 31%, 14%, 0%)
OKLCH (Modern CSS) oklch(84.3% 0.109 344.9)
CIE-LAB (D65) 80.23, 35.64, -10.76
CIE XYZ 69.49, 57.09, 75.06
Decimal / Binary 16756700
11111111 10101111 11011100

Closest Standards & Equivalents

Closest Web Safe
#FF99CC
Inverse Color
#005023
Complementary Color
#AFFFD2
Closest Pantone®
Pantone Magenta 0521 C
Closest RAL
RAL 9010 [Pure white]

#FFAFDC Grayscale Equivalents

Average
#D9D9D9
Lightness (Desaturation)
#D7D7D7
Weighted (BT601)
#CCCCCC
Luma (BT709)
#C3C3C3

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFAFDC.

Contrast Ratio: 1.69:1
AA Fail AAA Fail

Black Text on #FFAFDC

Sample preview of readable typography on top of #FFAFDC.

Contrast Ratio: 12.42:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFAFDC

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

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

Hex #FFAFDC Color Palettes

Complementary Palette

The complementary color of #FFAFDC is #AFFFD2. 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 #FFAFDC pairs with #FAAFFF and #FFAFB4, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFAFDC uses #AFDCFF and #DCFFAF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFAFDC combines #DCFFAF, #AFFFD2 and #D2AFFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFAFDC pairs with #FFFAAF, #AFFFD2 and #AFB4FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFAFDC

Tints

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

Tones

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

Shades

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

Hex #FFAFDC in Programming & CSS Frameworks

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

HTML / CSS #FFAFDC
Tailwind CSS bg-[#FFAFDC] text-[#FFAFDC]
Java (AWT) new Color(255,175,220);
Python Color("#FFAFDC")
.NET (C#) Color.FromArgb(255, 255,175,220);
Swift / iOS UIColor(red: 1, green: 0.69, blue: 0.86, alpha: 1)
Kotlin / Android Color.rgb(255, 175, 220)