Sub topic 4
Build a limited color system
This chapter assumes you know basic design-tool operations (styles, fills, layers) and have a short visual identity brief for your series. If you don't have a brief yet, write one first. The palette should follow from it.
Why limit the palette
A series is recognizable when the same few colors show up in every graphic. Each extra color gives people one more thing to remember and gives you one more choice per post. A limited palette also makes decisions faster. You don't pick a color each time. You pick a role.
A workable size for most series is 5 to 7 colors:
- 1 background color
- 1 text color
- 1 primary accent
- 1 to 3 secondary accents, used only when a post needs to be told apart from others (for example by topic)
- 1 or 2 neutrals for dividers, captions, and cards
If you need more than 7, the palette is probably doing a job that layout or imagery should do instead.
Assign roles before choosing hues
Start from the roles, then fill them in. A color named "blue" can be used anywhere. A color named "background" can be used in one place, which keeps the series consistent.
| Role | Used for | Example value | Rule |
|---|---|---|---|
| Background | Canvas fill | `#10243e` | Same on every template in the series |
| Text | Headlines and body copy | `#ffffff` | Must pass contrast against the background |
| Accent | The one focal element: a key word, a button shape, a underline | `#ffb703` | Appears once or twice per graphic |
| Neutral | Captions, dividers, handles | `#8aa0ba` | Never carries the main message |
| Secondary accents | Topic coding | one color per topic | Replace the primary accent. Don't add to it |
A rule of thumb for proportions
Many designers use roughly 60/30/10. About 60% of the area is background, about 30% is a supporting color such as photo, card, or neutral, and about 10% is the accent. The numbers are not strict. The point is that the accent stays rare. When the accent covers half the canvas, it stops pointing at anything, and the viewer has no focal point.
Choose hues with a method
You can start from any of these:
- A brand color. If the series belongs to an existing brand, that color is the accent or the background. Don't invent a competitor to it.
- A photo or product. Sample two or three colors from your main imagery so graphics and photos feel related.
- A color relationship. Pick one hue, then choose a complementary hue (opposite on the wheel) for the accent, or analogous hues (neighbors) for a calm look.
Then test the choice in context. Place the palette on a mock graphic with real headline text, not on swatches. A color that looks good as a square can fail behind a paragraph.
Work in lightness, not just hue
Contrast depends mainly on lightness (how bright a color is), not on hue. Two colors with very different hues can have almost the same lightness, and text in one on the other is hard to read. When a pairing fails, change the lightness of one color first. You can keep the hue and still fix the problem.
A common pattern is to define a few steps of the same hue, such as a dark, a mid, and a light version of your blue. The dark works as background, the light as text, and the mid as a card or divider. These stay related without adding "new" colors.
Record the palette as tokens
A design token is a named value stored in one place. Naming by role (--color-bg) rather than by appearance (--dark-blue) means you can change the value later without renaming anything. The same values go into your design tool's color styles, and into code if you generate graphics from templates.
:root {
--color-bg: #10243e;
--color-text: #ffffff;
--color-accent: #ffb703;
--color-neutral: #8aa0ba;
--color-accent-topic-a: #ffb703;
--color-accent-topic-b: #4cc9f0;
--color-accent-topic-c: #ff6b6b;
}In Figma, Canva, or Affinity, create a color style or brand kit entry for each of these with the same names. Then fill every shape from a style and never from a loose hex value. This is what makes a later palette change a one-step update.
Check contrast as you build
Contrast ratio compares the brightness of two colors, from 1:1 (identical) to 21:1 (black on white). WCAG, the Web Content Accessibility Guidelines, asks for at least 4.5:1 for normal text and 3:1 for large text. Large text is roughly 24px regular or 19px bold and up on a screen. Social graphics are usually viewed on small phone screens, so treat your smallest text as normal text.
The following script checks each pairing you plan to use. It applies the WCAG formula for relative luminance (perceived brightness) and then the ratio.
def channel(c):
c = c / 255
return c / 12.92 if c <= 0.03928 else ((c + 0.055) / 1.055) ** 2.4
def luminance(hex_color):
h = hex_color.lstrip('#')
r, g, b = (int(h[i:i + 2], 16) for i in (0, 2, 4))
return 0.2126 * channel(r) + 0.7152 * channel(g) + 0.0722 * channel(b)
def contrast_ratio(a, b):
la, lb = luminance(a), luminance(b)
hi, lo = max(la, lb), min(la, lb)
return (hi + 0.05) / (lo + 0.05)
pairs = [
("text on background", "#ffffff", "#10243e", 4.5),
("accent on background", "#ffb703", "#10243e", 3.0),
("background on accent", "#10243e", "#ffb703", 4.5),
("neutral on background", "#8aa0ba", "#10243e", 4.5),
]
for name, fg, bg, needed in pairs:
ratio = contrast_ratio(fg, bg)
status = "pass" if ratio >= needed else "FAIL"
print(f"{name}: {ratio:.2f} (needs {needed}) {status}")White on #10243e comes out at about 15.6:1, far above the minimum. The yellow accent on the same background is roughly 9:1, so it works both as text and as a shape. Notice that each pair has its own threshold. The accent is only used for large headline words in this example, so 3:1 would be enough, but passing 4.5:1 gives you freedom to use it for smaller text later.
Common errors
- Using color as the only signal. If red means "wrong" and green means "right" in a graphic, add an icon or a word. Roughly 1 in 12 men has some form of color vision deficiency, and a gray-scale view of your graphic will show what they see.
- Pure black on pure white, or the reverse. It passes every test but can feel harsh on a phone screen. Slightly softened values (a very dark navy, an off-white) usually read more comfortably.
- Adding a color per post. If each post introduces a new accent, you no longer have a palette. Secondary accents should be fixed in advance and tied to something meaningful, such as a topic.
- Judging colors on one screen. Check on a phone at low brightness, in dark mode if the platform has it, and in gray-scale. Platforms also recompress images, which can shift saturated colors slightly.
- Gradients with no tokens. If you use gradients, define the start and end colors as tokens too. Otherwise each designer will eyeball a new one.
What to hand off
At the end of this stage you should have:
- A list of 5 to 7 named colors with hex values and roles.
- A table of approved text/background pairings with measured ratios.
- Color styles or tokens in your tool, named by role.
- One sentence on how the accent is used, such as "one key word per headline plus one shape."
The type scale in the next chapter builds on this. The sizes you choose there decide which contrast threshold applies to each text style.
Exercise
Your series uses a background of #10243e and a mid-gray text color of #6b7f99 for captions at 28px. Write down the check you would run, the threshold that applies, and what you would change first if the caption fails.
Show answer
Calculate the contrast ratio between #6b7f99 and #10243e with the WCAG formula (for example with the contrast_ratio function above). Caption text at 28px on a phone is small, so use the normal-text threshold of 4.5:1, not 3:1. If the ratio is below 4.5, keep the hue and increase the lightness of the caption color (make it a lighter gray-blue) until it passes, then update the neutral token so every template picks up the change. Only change the background if several text colors fail against it.