Contrastly

A colour contrast checker for Tailwind CSS, Radix Colors, Open Color, shadcn/ui and custom palettes — WCAG checks, contextual previews and design-token import/export in one workflow.

Five previews — text, UI controls, focus indicators, icons and data graphics — each judged by the WCAG criteria that actually apply. “Liquid Colour Transfer” respects reduced-motion settings.

Field
Design & accessibility tools
Period
2025
Role
UI design, Implementation, Accessibility testing
Tools & stack
Next.jsReactTypeScriptTailwind CSSRadix Primitivesshadcn/uiPlaywrightaxe-core
Main screen (desktop)
Fig. 01Main screen (desktop)

01The problem

Checking colour contrast while building interfaces often meant switching between palette documentation, colour values and a separate checker. Comparing several shades, testing different UI elements or reviewing design tokens made that fragmented workflow even more noticeable.

02Design

Contrastly brings colour selection, a live preview and the result into one view. Tailwind CSS, Radix Colors and Open Color appear as continuous shade strips so neighbouring steps can be compared at a glance; shadcn/ui theme roles and custom colours use individual swatches. Foreground and background colours can be selected, swapped or entered directly.

Five preview types—text, UI controls, focus indicators, meaningful icons and data graphics—show a pair in different contexts. The ratio, a threshold meter and the applicable WCAG results sit inside each preview card and update immediately as colours change. The criteria follow the type of content being checked rather than treating all elements as text.

03Custom palettes and design tokens

Custom palettes can be created, edited and saved in the browser. Existing colours can also be imported by pasting code or uploading a file: the importer supports DTCG, Tokens Studio and Style Dictionary JSON, CSS variables and other supported colour lists, resolves aliases and identifies values it cannot use. Palettes can be exported as DTCG JSON or CSS variables, keeping the workflow useful for real design systems as well as individual colour pairs.

04Interaction design

Liquid Colour Transfer adds a playful visual touch: a drop travels from the selected swatch into the preview, spreads like liquid and settles with a gentle wobble. Reduced-motion settings are respected, with the device preference taking priority over the in-app switch.

The foreground/background target stays accessible while browsing palettes, including on mobile. Keyboard interaction is supported, with optional single-key shortcuts that can be disabled.

05Accessibility and testing

The checker applies the relevant WCAG criteria to text, non-text UI elements and focus indicators, and does not show a made-up AAA result where no AAA criterion applies. The interface itself uses semantic HTML and accessible UI primitives, with screen reader feedback for changes.

Validation includes source-level accessibility rules, Playwright end-to-end tests and axe checks for key desktop and mobile states, keyboard and focus behaviour, announcements, input validation and contrast calculations, alongside manual VoiceOver testing.

Fig. 02Choosing foreground and background colours, watching Liquid Colour Transfer, and checking the result

Index of works

Choose a work to open it

  1. 01Noor Halvorsen — Floral InstallationsArt & installationConcept work2026
  2. 02Halden Home Online StoreHome & lifestyle retailIndependent project2026
  3. 03strand. hair salon bookingHair salon / BookingIndependent project2026
  4. 04Energy operations dashboardEnergyClient work2025 – 2026
  5. 05汀 MIGIWA — The Drying Yard of ColourCraft & textilesConcept work2026
  6. 06Northlight Museum mobile guideMuseums and cultureConcept work2026
  7. 07写楽 — Sharaku: Actor Portraits, 1794Museums and cultureIndependent project2026
  8. 08The Light of a Day — An Exhibition That Follows the ClockMuseums and cultureIndependent project2026
  9. 09STUDIO STILL — Photo studio bookingSpace rental & bookingIndependent project2026
  10. 10ContrastlyDesign & accessibility toolsIndependent project2025
  11. 11MIX! — Makers WeekendArts, culture & eventsConcept work2026
  12. 12Website for a Miele distributorHome appliancesClient work2018
  13. 13Returns and refunds screenOnline retail operationsConcept work2026
  14. 14LensfolkPhotographyIndependent project2026 – present
  15. 15Daily shift upload screenShop operationsConcept work2026
  16. 16Salon advertisingBeauty salonsClient work2010 – 2012
  17. 17Sola JournalEditorialIndependent project2025 – 2026
  18. 18Sola StudioProfessional servicesIndependent project2026 – present