A small cafe at dusk with deep navy walls, a counter faced in coral red tiles, a teal espresso machine stacked with cream cups, pastries under a glass dome and brass pendant lights.

Choose your website colors

Pick a place that feels like your business. Each palette lists its text, background, button, accent and sections colors, ready to open and edit in Hue42.

Corner Cafe: colors from this photo, tuned in Hue42

Start with readable text and a background, then choose one action color.

The same colors on a real page

Three palettes from this page set as a small site, each color doing the job it has in the palette: text, page background, button, an accent for borders and a second color for panels.

Swipe to compare 3 palettes

Body text on the page: #001F41 on #FFF1DA14.8 to 1. Meets AAA text contrast, the strictest level.

Corner Cafe

#001F41 #FFF1DA #D95C4A #286C87 #CDD6B1

Open in Hue42

Body text on the page: #FFE0CC on #00153514.4 to 1. Meets AAA text contrast, the strictest level.

Night Market

#FFE0CC #001535 #E23726 #FF8050 #751E29

Open in Hue42

Body text on the page: #5A0A00 on #FFF1DE12.7 to 1. Meets AAA text contrast, the strictest level.

Bakery Counter

#5A0A00 #FFF1DE #B84832 #F7BEAE #CCC78A

Open in Hue42

Find the place that feels like your site

Tap any color to copy its hex code.

A sunlit studio with whitewashed brick walls, a cobalt blue shelf, a worn worktable with loose paper and a mug, a mustard yellow armchair and plants by the window.

Bright Studio

Deep blue text on white with cobalt for buttons and links, a mustard accent and pale olive sections, for software or an online course. Button labels in the background color: 6.2 to 1.

Hex codes, names and checks
Colors in Bright Studio
ColorHexRGBRole
Prussian#002E5C0, 46, 92Anchor
Chalk#F9F7F1249, 247, 241Tint
Lapis#005F9D0, 95, 157Base
Mango#F8B64F248, 182, 79Accent
Celery#C9CA7C201, 202, 124Support
  • A readable pair. Best text pairing is 12.6:1 (4.5:1 passes WCAG AA).
  • Light to dark range. Lightness spans 67 points of 100.
  • Every color distinct. No two colors are close enough to be confused.
  • Holds up colorblind. Colors stay distinguishable under common color vision types.
  • Room to breathe. There is a quiet color for surfaces and backgrounds.
A bakery counter with a glass case of pastries and cakes, plain pale pink boxes stacked on top, a cream tiled wall and a terracotta red counter front.

Bakery Counter

Cocoa red text on cream with terracotta buttons and links, a pastry pink accent and pistachio sections, for a bakery or a sweet shop. Button labels in the background color: 4.7 to 1.

Hex codes, names and checks
Colors in Bakery Counter
ColorHexRGBRole
Sangria#5A0A0090, 10, 0Anchor
Linen#FFF1DE255, 241, 222Tint
Paprika#B84832184, 72, 50Base
Melon#F7BEAE247, 190, 174Analog
Bamboo#CCC78A204, 199, 138Accent
  • A readable pair. Best text pairing is 12.7:1 (4.5:1 passes WCAG AA).
  • Light to dark range. Lightness spans 66 points of 100.
  • Every color distinct. No two colors are close enough to be confused.
  • Holds up colorblind. Colors stay distinguishable under common color vision types.
  • Room to breathe. There is a quiet color for surfaces and backgrounds.
Four surfboards of different shapes in turquoise, coral and cream in a wooden rack against a deep blue wall, with two wetsuits on hooks and sand on the floor by the open door.

Surf Shop

Navy text on white with coral buttons, a turquoise accent and sand sections, for a surf school or an outdoor brand, with links kept navy and underlined. Button labels in black: 5.5 to 1.

Hex codes, names and checks
Colors in Surf Shop
ColorHexRGBRole
Prussian#0029530, 41, 83Anchor
Cloud#EEF8FF238, 248, 255Tint
Poppy#D95C4D217, 92, 77Base
Lagoon#2196A833, 150, 168Accent
Wheat#F4DAB4244, 218, 180Support
  • A readable pair. Best text pairing is 13.5:1 (4.5:1 passes WCAG AA).
  • Light to dark range. Lightness spans 69 points of 100.
  • Every color distinct. No two colors are close enough to be confused.
  • Holds up colorblind. Colors stay distinguishable under common color vision types.
  • Room to breathe. There is a quiet color for surfaces and backgrounds.
A ceramics workshop with shelves of handmade bowls and vases in sage green, cobalt blue and cream, and a cobalt vase on a work table.

Glaze and Clay

Ink text on warm cream with cobalt glaze for buttons and links, a sage accent and oatmeal sections, for a maker or a gallery. Button labels in the background color: 6.6 to 1.

Hex codes, names and checks
Colors in Glaze and Clay
ColorHexRGBRole
Ink#141A2920, 26, 41Anchor
Linen#F6EFE6246, 239, 230Tint
Muted Cobalt#2351A135, 81, 161Base
Deep Putty#99A47B153, 164, 123Support
Oat#E3D5C2227, 213, 194Neutral
  • A readable pair. Best text pairing is 15.2:1 (4.5:1 passes WCAG AA).
  • Light to dark range. Lightness spans 74 points of 100.
  • Every color distinct. No two colors are close enough to be confused.
  • Holds up colorblind. Colors stay distinguishable under common color vision types.
  • Room to breathe. There is a quiet color for surfaces and backgrounds.
A calm waiting area with mint green and deep teal walls, a curved white bench with two coral cushions and a large green plant.

Calm Clinic

Deep teal text on pale mint with teal buttons and links, a soft coral accent and leaf green sections, for a clinic or a spa. White text on the green sections: 4.6 to 1.

Hex codes, names and checks
Colors in Calm Clinic
ColorHexRGBRole
Midnight Green#0040480, 64, 72Anchor
Sea Salt#E2F9F4226, 249, 244Tint
Aegean#006F840, 111, 132Base
Deep Melon#EBA296235, 162, 150Accent
Fern#587E4088, 126, 64Support
  • A readable pair. Best text pairing is 10.4:1 (4.5:1 passes WCAG AA).
  • Light to dark range. Lightness spans 62 points of 100.
  • Every color distinct. No two colors are close enough to be confused.
  • Holds up colorblind. Colors stay distinguishable under common color vision types.
  • Room to breathe. There is a quiet color for surfaces and backgrounds.
A night food market under strings of red paper lanterns, with red awnings, steam rising from pots and wet pavement reflecting the lights.

Night Market

A dark page of peach text on night blue, with lantern red buttons, an amber accent and wine sections, for a restaurant or a food festival. Button labels in black: 4.8 to 1.

Hex codes, names and checks
Colors in Night Market
ColorHexRGBRole
Shell#FFE0CC255, 224, 204Tint
Midnight#0015350, 21, 53Anchor
Vermilion#E23726226, 55, 38Base
Coral#FF8050255, 128, 80Accent
Muted Burgundy#751E29117, 30, 41Analog
  • A readable pair. Best text pairing is 14.4:1 (4.5:1 passes WCAG AA).
  • Light to dark range. Lightness spans 73 points of 100.
  • Every color distinct. No two colors are close enough to be confused.
  • Holds up colorblind. Colors stay distinguishable under common color vision types.
  • Room to breathe. There is a quiet color for surfaces and backgrounds.
More website palettes
  • Corner Cafe

    Open in Hue42

    Navy text on warm cream with coral buttons, teal accents and pale sage sections, like a corner cafe at dusk. Button labels in black: 5.5 to 1.

    #001F41 #FFF1DA #D95C4A #286C87 #CDD6B1

  • Clear Software

    Open in Hue42

    Ink text on pale blue with bright blue buttons, an apricot accent and aqua sections, for software and online services. Button labels in white: 4.5 to 1.

    #16202E #E9F0FD #2F6FED #F4A259 #5BC0BE

  • Quiet Wellness

    Open in Hue42

    Pine text on near white with sea green buttons, a honey accent and pale mint sections, for a yoga studio or a wellness practice. Button labels in black: 6.5 to 1.

    #1F3B35 #F9FBFA #4F9D8B #F2C078 #E4F1EC

  • Steady Finance

    Open in Hue42

    Navy text on pale blue with blue buttons and links, a gold accent and green sections for charts, for a finance or advice site. Button labels in the background color: 5.7 to 1.

    #0B2A4A #E6EEF5 #1E6091 #F2B134 #2BA88A

  • A dark page of pale gray text on near black, with coral buttons and links, a soft blue accent and charcoal sections, for photography. Button labels in the background color: 7.3 to 1.

    #E8E6E1 #0F1115 #FF7A59 #7AA2F7 #2B2F36

  • Green Cause

    Open in Hue42

    Forest text on pale green with lake blue buttons and links, a marigold accent and pale sage sections, for a nonprofit or an eco project. Button labels in the background color: 4.8 to 1.

    #20402F #EDF3E4 #2E6F95 #E0A63B #C9DDC3

Make it yours in Hue42

  1. Start from your brand color

    Type the hex code of your logo or brand color, or choose a photo of your shop, product or place. Hue42 builds a palette around it, and the photo stays on your device.

  2. Keep what you like

    Generate a new palette as often as you like. Lock the colors you want to keep and the rest change around them.

  3. Check it, then copy it

    Hue42 shows contrast ratios and flags colors that may be hard to tell apart. Check each text and background pair you actually use. Select any color to copy its hex code.

Open these colors in Hue42
The Hue42 color tool showing the Corner Cafe palette of navy, warm cream, coral, teal and pale sage, each with its hex code, its place in the tool and its name.

Names you will see in Hue42

  • TextHue42: Anchor#001F41
  • BackgroundHue42: Tint#FFF1DA
  • ButtonHue42: Base#D95C4A
  • AccentHue42: Accent#286C87
  • SectionsHue42: Support#CDD6B1

More places, more websites

A short guide to choosing website colors

A simple method: 60, 30, 10

A useful starting point, borrowed from interior design, is to split the page roughly 60, 30 and 10. It is a rule of thumb, not a law, but it helps keep several strong colors from competing for attention.

About 60 percent: the background.
The quiet color behind everything. Usually a near white, a warm cream or, for a dark site, a deep navy or near black.
About 30 percent: text and sections.
The text color, plus a second color for the header, footer, cards or alternating sections.
About 10 percent: the button color.
The boldest color in the palette, kept for button fills and the one thing you want people to press. Keep body links underlined. If you use the action color for links, check it reaches 4.5 to 1 against the background.

Every palette on this page lists its colors in the same order, text, background, button, accent, sections, and its description names each one.

Start with the text and the background

A website is mostly words, so choose the color of the text and the color behind it first. They should be very different in lightness, such as a near black on a warm white, or a pale cream on a deep navy.

The accessibility guideline most sites aim for (WCAG AA) asks for at least 4.5 to 1 contrast between normal-size text and its background, and 3 to 1 for large text. The Hue42 tool shows the most readable pair in any palette and the ratio it reaches.

Pick one color for actions

Give your main buttons one consistent color, and avoid using that color for things that cannot be pressed. Visitors learn quickly what it means. Underline links in body text and check their contrast like any other text.

Make the button color different from the background by more than hue, and check the label on it: a coral or yellow button usually needs dark text, a navy or deep red one needs white. A button should still stand out if the page were printed in gray.

Match the colors to the business

The quickest way to a palette that feels right is to look at a real place in the same trade. A bakery has cream, pastry pink and a warm red; a clinic has pale mint, teal and white; a law office has navy, ivory and brass. The scenes on this page were made with AI to suggest those moods, and each palette is taken from its picture and adjusted for use on a website.

Then make it your own: keep the background and text from the place, and swap the button color for your brand color if you have one.

Start from a logo you already have

If you have a logo, its strongest color is usually your button color. Use it as a background only where text and buttons on it keep enough contrast. Build the rest around it: a near white or deep neutral that suits it, a dark text color with a hint of the same hue, and one accent from elsewhere on the color wheel for highlights.

Check the states, not only the page

A button has more than one look: normal, hover, pressed, disabled and keyboard focused. Check each one against its background. Error and success messages should not depend on red and green alone, since many people cannot tell them apart, so add an icon or a word.

Light, dark or both?

A light background suits most shops, services and anything with a lot of text. A dark one suits restaurants at night, music, events and photography, like the Night Market and Stage Lights palettes. If you offer both, treat the dark page as its own palette instead of inverting the light one: colors that look good on white often look too bright on black, and a softer version of your button color usually works better.

Questions people ask

How do I choose colors for a website?

Pick a background and a text color that are very different in lightness, then one bold color for button fills, and keep everything else quiet. Body links can stay in the text color, underlined. A 60, 30, 10 split of background, text and sections, and button color is a good starting point. Check that your text reaches at least 4.5 to 1 contrast.

What is the 60 30 10 rule for websites?

It is a rule of thumb borrowed from interior design: about 60 percent of the page in a main background color, about 30 percent in a secondary color for text, headers and sections, and about 10 percent in an accent for buttons. It is a guide to balance, not a measurement, so adjust it to your layout.

How many colors should a website use?

Most sites need a text color, a background, a second color for sections or cards and one action color, so around four, plus a lighter and darker shade of each for borders and hover states. A second accent is fine if it has a clear job. If you cannot say what a color is for, leave it out.

What contrast ratio does website text need?

The WCAG AA guideline asks for at least 4.5 to 1 for normal text and 3 to 1 for large text, which is about 24 pixels, or 19 pixels bold. Buttons, links and form fields need clear contrast too. The Hue42 tool shows the most readable text pair in your palette and the ratio it reaches.

What color should my buttons be?

Choose one consistent action color, often your brand color. It must stand out clearly from the page background, and its label needs at least 4.5 to 1 contrast against the button. Keep it the same on every page, so people always recognize what to press.

Should my website background be white?

It can be, but it does not have to be. Pure white works well for dense text and tools. A warm off white or pale tint feels softer and more personal, and a dark background suits restaurants, music and photography. Choose by the feeling you want, then check the text contrast, which matters more than the exact shade.

How do I make a website work for color blind visitors?

Many people, far more men than women, see some colors differently, so do not rely on color alone. Use differences in lightness, add icons or text labels for status, and underline links in body text. The Hue42 tool runs a color vision check on every palette and shows what to try if it fails.

Try your own colors on a page

Open any palette in the Hue42 color tool and swap in your brand color. It shows the most readable pair, how the colors work together and what to try if something is off.

Open these colors in Hue42