Skip to content

Neon Palette

CSS variables
:root {
  --color-1: #FF006E;
  --color-2: #FB5607;
  --color-3: #FFBE0B;
  --color-4: #8338EC;
  --color-5: #3A86FF;
}
Tailwind config
// tailwind.config.js
colors: {
  "neon-1": "#FF006E",
  "neon-2": "#FB5607",
  "neon-3": "#FFBE0B",
  "neon-4": "#8338EC",
  "neon-5": "#3A86FF",
}
About this palette

The Neon palette is a curated set of 5 colors with their HEX, RGB and ready CSS-variable and Tailwind exports. Click any swatch for that color's full breakdown — conversions, contrast and harmonies.

Readable text on each color

White and near-black measured against every swatch. AA means the pairing clears 4.5:1 for body text; Large means it only clears 3:1, so reserve it for 24px and up.

Aa
#FF006ENear-black4.93:1AA
Aa
#FB5607Near-black5.79:1AA
Aa
#FFBE0BNear-black11.36:1AA
Aa
#8338ECWhite5.61:1AA
Aa
#3A86FFNear-black5.43:1AA
These colours on each other

None of the 20 combinations inside this palette reach 4.5:1, so pair its colours with white or near-black rather than with each other.

text \\ background#FF006E#FB5607#FFBE0B#8338EC#3A86FF
#FF006E1.18Fails2.30Fails1.46Fails1.10Fails
#FB56071.18Fails1.96Fails1.72Fails1.07Fails
#FFBE0B2.30Fails1.96Fails3.37Large only2.09Fails
#8338EC1.46Fails1.72Fails3.37Large only1.61Fails
#3A86FF1.10Fails1.07Fails2.09Fails1.61Fails
More palettes

Related

Gradients in the same range

Copied