{
 "compat_features": [
  "css.types.color.contrast-color"
 ],
 "description": "The contrast-color() CSS function picks a color that has guaranteed contrast against a specified foreground or background color.",
 "description_html": "The <code>contrast-color()</code> CSS function picks a color that has guaranteed contrast against a specified foreground or background color.",
 "group": [
  "color-types"
 ],
 "kind": "feature",
 "name": "contrast-color()",
 "spec": [
  "https://drafts.csswg.org/css-color-6/#funcdef-contrast-color"
 ],
 "status": {
  "baseline": "low",
  "baseline_low_date": "2026-04-10",
  "by_compat_key": {
   "css.types.color.contrast-color": {
    "baseline": "low",
    "baseline_low_date": "2026-04-10",
    "support": {
     "chrome": "147",
     "chrome_android": "147",
     "edge": "147",
     "firefox": "146",
     "firefox_android": "146",
     "safari": "26",
     "safari_ios": "26"
    }
   }
  },
  "support": {
   "chrome": "147",
   "chrome_android": "147",
   "edge": "147",
   "firefox": "146",
   "firefox_android": "146",
   "safari": "26",
   "safari_ios": "26"
  }
 },
 "id": "contrast-color",
 "groups": [
  "color-types"
 ],
 "specs": [
  {
   "url": "https://drafts.csswg.org/css-color-6/#funcdef-contrast-color",
   "seriesComposition": "delta",
   "shortname": "css-color-6",
   "series": {
    "shortname": "css-color",
    "currentSpecification": "css-color-4",
    "title": "CSS Color",
    "shortTitle": "CSS Color",
    "releaseUrl": "https://www.w3.org/TR/css-color/",
    "nightlyUrl": "https://drafts.csswg.org/css-color/"
   },
   "seriesVersion": "6",
   "seriesPrevious": "css-color-5",
   "organization": "W3C",
   "groups": [
    {
     "name": "Cascading Style Sheets (CSS) Working Group",
     "url": "https://www.w3.org/groups/wg/css/"
    }
   ],
   "nightly": {
    "url": "https://drafts.csswg.org/css-color-6/",
    "status": "Editor's Draft",
    "alternateUrls": [
     "https://w3c.github.io/csswg-drafts/css-color-6/"
    ],
    "repository": "https://github.com/w3c/csswg-drafts",
    "sourcePath": "css-color-6/Overview.bs",
    "filename": "index.html"
   },
   "title": "CSS Color Module Level 6",
   "source": "spec",
   "shortTitle": "CSS Color 6",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "css/css-color"
    ]
   },
   "fragment": "funcdef-contrast-color"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/CSS/Reference/Values/color_value/contrast-color",
   "title": "`contrast-color()` CSS function",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Values/color_value/contrast-color"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [
  {
   "name": "State of CSS 2026",
   "url": "https://2026.stateofcss.com/en-US/usage/#css_missing_features",
   "question": "usage",
   "subQuestion": "css_missing_features",
   "path": "dataAPI.surveys.state_of_css.css2026.usage.css_missing_features.freeform.allEditions.0.buckets.19.entity"
  },
  {
   "name": "State of CSS 2026",
   "url": "https://2026.stateofcss.com/en-US/features/#reading_list",
   "question": "reading_list",
   "subQuestion": "reading_list",
   "path": "dataAPI.surveys.state_of_css.css2026.reading_list.reading_list.combined.allEditions.1.buckets.3.entity"
  },
  {
   "name": "State of CSS 2026",
   "url": "https://2026.stateofcss.com/en-US/colors/#colors_pain_points_features",
   "question": "colors",
   "subQuestion": "colors_pain_points_features",
   "path": "dataAPI.surveys.state_of_css.css2026.colors.colors_pain_points_features.freeform.allEditions.0.buckets.4.entity"
  },
  {
   "name": "State of CSS 2026",
   "url": "https://2026.stateofcss.com/en-US/colors/#colors_pain_points",
   "question": "colors",
   "subQuestion": "colors_pain_points",
   "path": "dataAPI.surveys.state_of_css.css2026.colors.colors_pain_points.freeform.allEditions.0.buckets.13.nestedBuckets.0.entity"
  },
  {
   "name": "State of CSS 2026",
   "url": "https://2026.stateofcss.com/en-US/_all_features/#all_features",
   "question": "_all_features",
   "subQuestion": "all_features",
   "path": "dataAPI.surveys.state_of_css.css2026._all_features.all_features.23.entity"
  },
  {
   "name": "State of CSS 2025",
   "url": "https://2025.stateofcss.com/en-US/colors/#colors_pain_points",
   "question": "colors",
   "subQuestion": "colors_pain_points",
   "path": "dataAPI.surveys.state_of_css.css2025.colors.colors_pain_points.freeform.allEditions.0.buckets.15.entity"
  }
 ],
 "chromeUseCounters": {
  "percentageOfPageLoad": 0.00036599,
  "url": "https://chromestatus.com/metrics/webfeature/timeline/popularity/430"
 },
 "interop": [
  {
   "year": 2026,
   "label": "interop-2026-contrast-color",
   "url": "https://wpt.fyi/interop-2026?feature=interop-2026-contrast-color"
  }
 ],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:contrast-color"
 },
 "developerSignals": null,
 "bugs": {
  "chrome": [
   "https://crbug.com/40142548"
  ],
  "firefox": [
   "https://bugzil.la/1682439"
  ]
 },
 "useCases": null,
 "baselineLowDateAsObject": "2026-04-10T00:00:00.000Z",
 "baselineHighDateAsObject": null,
 "expectedBaselineHighDate": "2028-10-10"
}