Colour · palettesColour palette generator
Enter one colour and get a harmonious five-colour palette, a 50–900 tint ramp and a text readability check. Export to CSS, SCSS, Tailwind and JSON.
Everything is computed in your browser — colours never leave the device
01
Base colour and scheme
the palette rebuilds on every keystroke02
Palette
five colours, the first one is the base03
Tint ramp
ten steps of a single hueThe saturation of the base colour on every step — a ramp for the primary interface colour.
04
Live preview
the palette on an interface blockColour roles#e4002b#ffd1da#9e3708#e40e00#ffa8b9
Primary
the main action button
Light pair
surfaces and fills
Dark
the header and headings
Accent
figures and highlights
Borders
frames and dividers
05
Export
the same values as shown above06
About colour harmony
Harmony is the rule by which the colours were picked: neighbouring hues, opposite ones, equal slices of the wheel. The rule alone does not make a palette work — the colours still have to differ in lightness and to carry text. That is why every colour here comes with its contrast.
The colour wheel
Basics0° … 360°
Hue (H) is a position on the wheel: 0° red, 120° green, 240° blue. Every harmony scheme is a rule for picking points on that wheel; saturation and lightness are handled separately.
Analogous scheme
Scheme±15° · ±30°
Neighbouring hues. The set comes out calm and uniform — right when colour should not compete with the content: sites, documentation, long-form text.
Complementary
Scheme+180°
The opposite hue on the wheel. Maximum colour contrast: a primary plus an accent impossible to miss. Do not set text in two such colours — use the second one to highlight.
Triad and tetrad
Scheme+120° · +90°
The wheel is split into three or four equal parts. The set is vivid and balanced but harder to govern: the more equal colours there are, the harder it is to build a hierarchy.
The tint ramp
Steps50 … 900
One hue at fixed lightness steps: 50 a near-white surface, 900 a near-black text colour. Such a ramp is the design-system convention, which makes it easy to move into code unchanged.
Contrast beats harmony
Accessibility4.5:1
Harmony says nothing about readability. Text on a colour is judged by luminance: the WCAG threshold for normal text is 4.5:1. A beautiful palette you cannot write on is an unfinished palette.
07