In short
- A call to action is the step you want a visitor to take, and the button is where the whole page is leading.
- The wording should say what happens next, in the visitor's terms: Get a quote, Book a table, Start free trial.
- One primary action per screen. Give alternatives a quieter style so that they do not compete.
- The button must stand out by contrast, be large enough to tap and look like a button.
- Design every state: hover, keyboard focus, pressed, loading and disabled.
Every page on a business website exists to get someone to do something: call, book, buy, sign up, ask for a quote. The call to action, or CTA, is the moment that happens, and on most pages it takes the form of a button. A page can be well written and attractive and still fail because the button is vague, hard to find or easy to mistake for decoration.
Getting it right is not a matter of finding a magic colour. It comes down to four things: what the button says, how it looks, where it sits and how it behaves.
What Makes a Call to Action Work
A visitor clicks when three conditions are met. They understand what the button will do. They want that outcome. And nothing about the button makes them hesitate. The design of the page creates the wanting. The button has to supply the clarity and remove the doubt.
That is why the same button can do well on one page and badly on another. A button asking someone to buy before the page has explained the product is premature. The same button after the benefits, the price and the reviews is a natural next step.
Writing the Words
Start the label with a verb and finish it with the thing the visitor gets. A good test is whether it completes the sentence that begins: I want to.
| Weak | Stronger | Why |
|---|---|---|
| Submit | Send my enquiry | Says what is being sent |
| Click here | See prices | Says where it leads |
| Learn more | How the service works | Sets a clear expectation |
| Buy | Add to basket | A smaller commitment at that stage |
| Contact | Book a free call | Specific, and names the benefit |
- Keep it to two to five words.
- Describe the outcome for the visitor, not the task for your system.
- Be honest about what happens. If the button starts a paid subscription, say so.
- Use the same wording for the same action throughout the site.
A short line beside or below the button can remove a last doubt: no card needed, a reply within one working day, cancel at any time. Only say it if it is true.
Primary and Secondary Buttons
Most screens have more than one possible action. The answer is a hierarchy of buttons, so that the eye goes to the most important first.
| Level | Typical style | Used for |
|---|---|---|
| Primary | A solid fill in the accent colour | The one action the page is built around |
| Secondary | An outline, or a muted fill | A useful alternative, such as viewing prices |
| Tertiary | A plain text link | Minor options, such as reading more |
.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 2.75rem;
padding: 0.75rem 1.5rem;
border: 2px solid transparent;
border-radius: 0.5rem;
font: inherit;
font-weight: 600;
text-decoration: none;
cursor: pointer;
}
.button-primary {
background: #0b6b5d;
color: #ffffff;
}
.button-secondary {
background: transparent;
border-color: currentColor;
color: #0b6b5d;
}Colour, Contrast and Size
There is no best colour for a button. What matters is that it contrasts with everything around it and that the colour is not used for anything unimportant. A green button on a green page disappears. The same button on a mostly neutral page is impossible to miss.
- The label needs a contrast ratio of at least 4.5 to 1 against the button, and the button itself at least 3 to 1 against the page behind it.
- Make buttons large enough to tap. The accessibility guidelines require targets of at least 24 by 24 CSS pixels, and a height of around 44 to 48 pixels is far more comfortable on a phone.
- Leave clear space around the button. Space draws the eye as strongly as colour does.
- Make it look pressable: a filled shape with a clear edge, not a word floating on its own.
- Do not use colour alone to distinguish a button from text. Shape and weight should do the job too.
Our guides to website colour schemes and visual hierarchy explain the principles behind these choices.
Where to Put the Button
- In the hero, for visitors who already know what they want.
- After each persuasive section, such as the benefits, the reviews or the pricing, when interest is highest.
- At the end of the page, for people who read everything first.
- In a sticky header or bar on a phone, so that the action is always one tap away.
Repeating the same call to action down a long page is not pushy. It saves the visitor from scrolling back to find it. What does harm is offering several different primary actions at once, which turns a simple decision into a choice between options.
On a phone, think about the thumb. A full-width button near the bottom of the screen is easier to reach than a small one in a top corner. If the action is a booking, an online booking system lets the button lead straight to a confirmed appointment. Our guides to hero sections and landing pages show how the button fits into the page.
Button States
A button is not a static picture. It responds, and each response reassures the visitor that the site is working.
.button-primary:hover {
background: #095247;
}
.button-secondary:hover {
background: rgb(11 107 93 / 0.1);
}
.button:focus-visible {
outline: 3px solid #1b4ed8;
outline-offset: 3px;
}
.button:active {
transform: translateY(1px);
}
.button[aria-busy="true"] {
opacity: 0.7;
pointer-events: none;
}- Hover shows that the pointer is over something clickable.
- Focus shows keyboard users where they are. Never remove the outline without replacing it.
- Pressed confirms that the click registered.
- Loading stops a second click and shows that something is happening, for instance after a form is sent.
- Disabled should be used sparingly. A greyed-out button with no explanation leaves people stuck.
These small responses are a form of micro-interaction. One technical point matters too: use a button element for actions and a link for navigation. A div styled to look like a button cannot be reached by keyboard without extra work.
Common Call-to-Action Mistakes
- Vague labels. Submit, Click here and Learn more tell the visitor nothing about what comes next.
- Too many primary buttons. If everything is the main action, nothing is.
- Ghost buttons for the main action. A thin outline over a photograph is easy to overlook.
- Buttons that do not look like buttons. Flat text with no shape is read as a heading.
- Low contrast. Pale text on a pale button fails many visitors.
- Asking too early. A demand to sign up before the page has explained anything.
- A button that leads to a long form. The promise of the button should match the effort of the next step. See our guide to website form design.
Putting It Into Practice
Reading about a technique is the easy part. Applying it to a real business, with real content and a launch date, takes judgement about what to use and what to leave out. DigitalPod is a UK-based design and web development studio that designs every site from a blank page and builds it by hand, so a technique is used because it helps the business and not because a template came with it. If you would like a website designer to handle it for you, startup website design is what we specialise in, websites start from £2,400 and our website redesign service brings an older site up to date.
Frequently Asked Questions
What is a call-to-action button?
It is a button that asks the visitor to take the next step a page is designed for, such as requesting a quote, booking an appointment or adding a product to the basket. It is usually the most prominent interactive element on the page.
What is the best colour for a call-to-action button?
There is no single best colour. The best one is the colour that contrasts most clearly with the rest of the page and is reserved for the main action. Check that the text on the button is easy to read, with a contrast ratio of at least 4.5 to 1.
What should a call-to-action button say?
It should say what happens when it is clicked, starting with a verb and written from the visitor's point of view: Get a quote, Book a table, Download the guide. Avoid generic labels such as Submit or Click here.
How many calls to action should a page have?
One primary action, repeated at sensible points down the page, plus at most one or two quieter alternatives. Several competing primary actions divide attention and reduce the chance that any of them is taken.
How big should a button be on mobile?
Large enough to tap accurately with a thumb. The accessibility guidelines set a minimum target of 24 by 24 CSS pixels, but a height of about 44 to 48 pixels with generous padding is a better aim, and full-width buttons work well on narrow screens.