Skip to main content

Cotton Candy Sky

2-color CSS gradient

Open in Studio Visualize

Cotton Candy Sky is a 2-color CSS linear gradient built from #FBC2EB and #A6C1EE. Its hues sit in the pink and blue ranges, and reads as pastel and muted. Dark text (#111827) on it keeps at least 9.70:1 at its weakest point — enough for WCAG AAA body text.

135°
Stops

UI Preview

See how this gradient looks in a real interface

🎨

Welcome Back

Your creative workspace awaits

Continue

Shade scales

Each color as a 50–950 ramp, like Tailwind's built-in palettes — ready for a design system. The ringed step is closest to the original color.

#FBC2EB

#A6C1EE

@theme {
  --color-cotton-candy-sky-1-50: #FCF5FA;
  --color-cotton-candy-sky-1-100: #F6E7F1;
  --color-cotton-candy-sky-1-200: #ECD2E4;
  --color-cotton-candy-sky-1-300: #DDB5D1;
  --color-cotton-candy-sky-1-400: #C493B6;
  --color-cotton-candy-sky-1-500: #AB779D;
  --color-cotton-candy-sky-1-600: #916085;
  --color-cotton-candy-sky-1-700: #774C6B;
  --color-cotton-candy-sky-1-800: #5F3B56;
  --color-cotton-candy-sky-1-900: #4B2E43;
  --color-cotton-candy-sky-1-950: #311C2B;
}

@theme {
  --color-cotton-candy-sky-2-50: #F4F8FD;
  --color-cotton-candy-sky-2-100: #E5EDF8;
  --color-cotton-candy-sky-2-200: #CFDCF0;
  --color-cotton-candy-sky-2-300: #B1C4E4;
  --color-cotton-candy-sky-2-400: #8EA6CD;
  --color-cotton-candy-sky-2-500: #728BB6;
  --color-cotton-candy-sky-2-600: #5C749B;
  --color-cotton-candy-sky-2-700: #485D7F;
  --color-cotton-candy-sky-2-800: #384966;
  --color-cotton-candy-sky-2-900: #2C3951;
  --color-cotton-candy-sky-2-950: #1A2435;
}

Light & dark theme

This palette as semantic tokens for a real interface, in both modes. Text, muted text and button labels are adjusted until they pass WCAG AA.

Light

Weekly summary

Everything your team shipped since Monday.

Open reportNewDetails

Dark

Weekly summary

Everything your team shipped since Monday.

Open reportNewDetails
:root {
  --background: #F8FAFD;
  --surface: #F1F4F8;
  --text: #171B20;
  --muted: #5F636A;
  --border: #DADEE5;
  --primary: #B681A8;
  --primary-foreground: #1C1917;
  --accent: #7992BD;
  --accent-foreground: #1C1917;
}

.dark {
  --background: #0D1014;
  --surface: #161A1F;
  --text: #EAEFF7;
  --muted: #A0A5AC;
  --border: #303338;
  --primary: #FBC2EB;
  --primary-foreground: #1C1917;
  --accent: #A6C1EE;
  --accent-foreground: #1C1917;
}

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.1. 0 of 2 palette combinations are readable as body text. White and near-black text are included for comparison.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #FBC2EB#A6C1EE
#FBC2EB
Same color
1.2Fail
#A6C1EE
1.2Fail
Same color
White
1.5Fail
1.8Fail
Near-black
11.7AAA
9.6AAA

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • Near-black on #FBC2EB · 11.7:1
  • Near-black on #A6C1EE · 9.6:1
Suggested fixes for 2 failing pairs

The nearest shade of the text color that passes AA (4.5:1), keeping its hue. Click one to copy it.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. No two swatches become hard to tell apart here.

What are the HEX, RGB, and HSL values for Cotton Candy Sky?

Every color in this 2-color set, with its contrast ratio against white and black.

Color values for Cotton Candy Sky: hex, RGB, HSL, and WCAG contrast ratios against white and black.
ColorNameHEXRGBHSLOn whiteOn black
#FBC2EBCotton Candy#FBC2EB251, 194, 235317°, 88%, 87%1.50:114.02:1
#A6C1EELight Steel Blue#A6C1EE166, 193, 238218°, 68%, 79%1.83:111.48:1