Adds the 'prefers-contrast' feature, which lets authors adapt web content to user-selected level of contrast in the OS, such as increased contrast mode on macOS and high contrast mode on Windows. Valid options are 'more', 'less', 'forced', or 'no-preference'.


Windows and macOS have support for contrast-related features. This media query will allow for authors to respond to such choices.


Editor's draft

Status in Chromium


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.


Search tags

prefers-contrast, contrast, css,

Last updated on 2021-04-12