depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access
depscope/npm/get-contrast-ratio

get-contrast-ratio

npmv1.0.0

Calculate contrast ratio between two CSS color strings.

License GPL-3.0strong copyleft9 versions1 maintainers1 deps
misund/get-contrast-ratio
64
/ 100
Health
safe to use

[email protected] is safe to use (health: 64/100)

Health breakdown0 – 100
25/25
maintenance
0/20
popularity
25/25
security
12/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

Dependencies (1)
get-relative-luminance
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/get-contrast-ratio
More from npm
semveransi-stylesminimatchdebugbrace-expansionstrip-ansi
Browse all npm packages →

First published · 2018-05-18T12:37:41.689Z

Last updated · 2026-04-11T12:04:29.878Z

DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents