Here's the thing nobody tells you about CTA buttons: the color isn't what converts. It's the contrast between the button and everything around it. That red button that "increased conversions 21%" on one site? It would bomb on a site that already uses red everywhere. Context is everything.
The internet is full of "use green for buy buttons" advice written by people who've never run a real A/B test. The truth is messier and more interesting. Color CRO is about visibility, emotional priming, and reducing cognitive friction — not about finding a magic hex code.
I'm going to show you what actually moves the needle, backed by real test data from companies spending millions on conversion optimization.
HubSpot's famous red vs. green test showed red outperformed green by 21% — but most people miss the context. HubSpot's site was predominantly green, so a red button created maximum contrast. The lesson isn't "red converts better." It's "contrast converts better."
Performable (now HubSpot) tested button colors across 2,000+ visits. The red variant got 21% more clicks not because of color psychology, but because it was the only non-green element on a green page. Visual isolation drives clicks.
SAP found that orange CTAs outperformed their default blue by 32.5% on landing pages. Again: their UI was predominantly blue, so orange created maximum contrast through complementary color opposition.
RIPT Apparel changed their cart button from black to green and saw a 6.3% increase in checkouts. Black blended into their dark navigation; green popped against the dark background with higher luminance contrast.
Beamax tested white vs. green vs. red buttons on their projection screen product page. Green won — increasing clicks 13.5% over white. The page background was white, so a green button stood out while the white button disappeared.
Monetate's analysis of 33,000 landing pages found that pages with a single, high-contrast CTA color converted 120% better than pages where the CTA color appeared elsewhere on the page. Uniqueness of the CTA color matters more than the specific hue.
HubSpot's famous red vs. green test showed red outperformed green by 21% — but most people miss the context. HubSpot's site was predominantly green, so a red button created maximum contrast. The lesson isn't "red converts better." It's "contrast converts better."
Performable (now HubSpot) tested button colors across 2,000+ visits. The red variant got 21% more clicks not because of color psychology, but because it was the only non-green element on a green page. Visual isolation drives clicks.
SAP found that orange CTAs outperformed their default blue by 32.5% on landing pages. Again: their UI was predominantly blue, so orange created maximum contrast through complementary color opposition.
RIPT Apparel changed their cart button from black to green and saw a 6.3% increase in checkouts. Black blended into their dark navigation; green popped against the dark background with higher luminance contrast.
Beamax tested white vs. green vs. red buttons on their projection screen product page. Green won — increasing clicks 13.5% over white. The page background was white, so a green button stood out while the white button disappeared.
Monetate's analysis of 33,000 landing pages found that pages with a single, high-contrast CTA color converted 120% better than pages where the CTA color appeared elsewhere on the page. Uniqueness of the CTA color matters more than the specific hue.
HubSpot's famous red vs. green test showed red outperformed green by 21% — but most people miss the context. HubSpot's site was predominantly green, so a red button created maximum contrast. The lesson isn't "red converts better." It's "contrast converts better."
Performable (now HubSpot) tested button colors across 2,000+ visits. The red variant got 21% more clicks not because of color psychology, but because it was the only non-green element on a green page. Visual isolation drives clicks.
SAP found that orange CTAs outperformed their default blue by 32.5% on landing pages. Again: their UI was predominantly blue, so orange created maximum contrast through complementary color opposition.
RIPT Apparel changed their cart button from black to green and saw a 6.3% increase in checkouts. Black blended into their dark navigation; green popped against the dark background with higher luminance contrast.
Beamax tested white vs. green vs. red buttons on their projection screen product page. Green won — increasing clicks 13.5% over white. The page background was white, so a green button stood out while the white button disappeared.
Monetate's analysis of 33,000 landing pages found that pages with a single, high-contrast CTA color converted 120% better than pages where the CTA color appeared elsewhere on the page. Uniqueness of the CTA color matters more than the specific hue.
HubSpot's famous red vs. green test showed red outperformed green by 21% — but most people miss the context. HubSpot's site was predominantly green, so a red button created maximum contrast. The lesson isn't "red converts better." It's "contrast converts better."
Performable (now HubSpot) tested button colors across 2,000+ visits. The red variant got 21% more clicks not because of color psychology, but because it was the only non-green element on a green page. Visual isolation drives clicks.
SAP found that orange CTAs outperformed their default blue by 32.5% on landing pages. Again: their UI was predominantly blue, so orange created maximum contrast through complementary color opposition.
RIPT Apparel changed their cart button from black to green and saw a 6.3% increase in checkouts. Black blended into their dark navigation; green popped against the dark background with higher luminance contrast.
Beamax tested white vs. green vs. red buttons on their projection screen product page. Green won — increasing clicks 13.5% over white. The page background was white, so a green button stood out while the white button disappeared.
Monetate's analysis of 33,000 landing pages found that pages with a single, high-contrast CTA color converted 120% better than pages where the CTA color appeared elsewhere on the page. Uniqueness of the CTA color matters more than the specific hue.
// WCAG luminance-based contrast for CTA visibility scoring
function ctaVisibilityScore(ctaHex: string, bgHex: string, surroundingHex: string): {
contrast: number;
passes: boolean;
recommendation: string;
} {
const luminance = (hex: string): number => {
const rgb = hex.replace('#', '').match(/.{2}/g)!.map(c => {
const s = parseInt(c, 16) / 255;
return s <= 0.03928 ? s / 12.92 : Math.pow((s + 0.055) / 1.055, 2.4);
});
return 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
};
const contrastRatio = (l1: number, l2: number) =>
(Math.max(l1, l2) + 0.05) / (Math.min(l1, l2) + 0.05);
const ctaLum = luminance(ctaHex);
const bgLum = luminance(bgHex);
const surroundLum = luminance(surroundingHex);
const bgContrast = contrastRatio(ctaLum, bgLum);
const surroundContrast = contrastRatio(ctaLum, surroundLum);
const avgContrast = (bgContrast + surroundContrast) / 2;
return {
contrast: Math.round(avgContrast * 100) / 100,
passes: avgContrast >= 3.0, // minimum for CTA visibility
recommendation: avgContrast < 3.0
? 'CTA blends into surroundings. Increase hue or lightness distance.'
: avgContrast > 7.0
? 'Excellent CTA isolation. High conversion potential.'
: 'Acceptable contrast. Consider testing a bolder variant.'
};
}Copy and paste into your project — free to use.
HubSpot's famous red vs. green test showed red outperformed green by 21% — but most people miss the context. HubSpot's site was predominantly green, so a red button created maximum contrast. The lesson isn't "red converts better." It's "contrast converts better."
Performable (now HubSpot) tested button colors across 2,000+ visits. The red variant got 21% more clicks not because of color psychology, but because it was the only non-green element on a green page. Visual isolation drives clicks.
SAP found that orange CTAs outperformed their default blue by 32.5% on landing pages. Again: their UI was predominantly blue, so orange created maximum contrast through complementary color opposition.
RIPT Apparel changed their cart button from black to green and saw a 6.3% increase in checkouts. Black blended into their dark navigation; green popped against the dark background with higher luminance contrast.
Beamax tested white vs. green vs. red buttons on their projection screen product page. Green won — increasing clicks 13.5% over white. The page background was white, so a green button stood out while the white button disappeared.
Monetate's analysis of 33,000 landing pages found that pages with a single, high-contrast CTA color converted 120% better than pages where the CTA color appeared elsewhere on the page. Uniqueness of the CTA color matters more than the specific hue.
▸ Your CTA color should appear NOWHERE else on the page. The moment your button color matches your header or link color, it loses its visual uniqueness and conversions drop.
▸ Don't test red vs. green — test contrast levels. Pick your CTA color based on what's the furthest from your dominant page color on the color wheel.
Use these free tools to apply what you learned: