Color Palette Generator — illustrative example INPUT Create a small UI palette using navy and warm cream, plus an orange-brown accent. Need body text, links and a filled action button. Calculate contrast for solid, opaque pairs. RESULT Background: #fff7ed Body text: #172554 — contrast on background ≈ 13.84:1 Underlined links/accent text: #9a3412 — contrast on background ≈ 6.88:1 Action button: #9a3412 background, #ffffff label — contrast ≈ 7.31:1 These pairs exceed the 4.5:1 normal-text threshold. This checks the stated solid-color pairs only; focus, hover, disabled states and the rest of the interface still need review. REVIEW A palette should assign colors to roles and test actual foreground-background pairs. A visually pleasing collection does not guarantee readable text or accessible interactive states. This is a teaching example, not a live execution record.