Skip to content
English
Looks cheap21 / 71

Readable text on tints

What goes wrong

Mid-tone text on a pale tint of the same colour falls below readable contrast, so the badge looks washed out.

The fix

On a tint, set the words in the main text colour and let the hue live in the tint and a small mark.

Tell your AI

On var(--ds-success-soft), var(--ds-warning-soft) or var(--ds-accent-soft) backgrounds, set text in var(--ds-text) at weight 600 and show the hue with a 6px dot in the full colour (var(--ds-success), var(--ds-warning)); check that every text-on-tint pair reaches 4.5:1.

  • --ds-success-soft
  • --ds-warning-soft
  • --ds-accent-soft
  • --ds-text
  • --ds-success
  • --ds-warning
Why AI-generated UIs all look the same: 12 rules that fix it

Order #3107

Placed 9 May · 2 items

  • PaymentPaid
  • PackingIn progress
  • Gift wrapAdded

Free returns until 12 June