A red site with 18 colors in use, no framework found, all of its text at WCAG AA
The colors of npmjs.com
The main color of npmjs.com is #cb3837, a red, and its home page uses 18 colors, 10 of them more than a gray, in 5 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 258 distinct color values in 587.2 KB of CSS, half of its text at 12.63:1 or better against what it sits on.
Measured
| Measure | npmjs.com |
|---|---|
| Main color | #cb3837, a red near crimson |
| Five heaviest colors | #ffffff #000000 #cb3837 #b02a2a #333333 |
| Colors in use | 18, 10 more than a gray; 258 distinct values in the CSS |
| Hue families | 5; red, magenta, yellow and orange hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: a dark theme's class or attribute |
| Notations | hex codes 86%, rgb() 13%, hsl() 1.2%, named colors 0.7% |
Colors through var() | 36% of its color declarations; 123 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 12.63:1; 0% of its text under 4.5:1 |
| Page measured | https://www.npmjs.com/, 587.2 KB of CSS |
The palette of npmjs.com
Recolor reads a page's colors as its Use site colours button does: each hue family's main color in rank order, then its background and text color, black or white for colored text, then grays. For npmjs.com that is #cb3837, #e02aff, #ffc329, #ffffff and #333333. Open npmjs.com in Recolor in its own colors, or try another palette on npmjs.com.
CSS variables
:root {
--color-1: #cb3837;
--color-2: #e02aff;
--color-3: #ffc329;
--color-4: #ffffff;
--color-5: #333333;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #cb3837;
--color-2: #e02aff;
--color-3: #ffc329;
--color-4: #ffffff;
--color-5: #333333;
--color-primary: #cb3837;
--color-secondary: #e02aff;
--color-accent: #ffc329;
}Text contrast on npmjs.com
Half of the text on npmjs.com reads at 12.63:1 or better against what it sits on, and all of it reaches WCAG AA: 4.5:1 for body text, 3:1 for large text. On the average studied site 6% of the text fails. 3.3% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.
How npmjs.com writes its colors
Its CSS writes 7,478 color values: 86% hex codes, 13% in rgb(), 1.2% in hsl() and 0.7% named colors. 36% of its color declarations read a CSS variable through var(), and it defines 123 variables that hold a color.
The study found none of the frameworks it looks for in its CSS: no Tailwind CSS, Bootstrap, WordPress or site builder variables. It declares a dark mode, through a dark theme's class or attribute, like 406 sites of the 1,000.
Sites with a similar main color
Other red sites whose main color is about as light as npmjs.com's. All 164 are on the red page, and colors that go with red shows what they pair it with. npmjs.com is also listed under sites with a dark mode.
Common questions
Is the main color of npmjs.com blue?
No. Its main color is #cb3837, a red near the CSS color crimson; blue leads on 49% of the 1,000 sites the study read.
Does npmjs.com use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is npmjs.com a dark site?
No. The color behind its home page is #ffffff, a light canvas, though its CSS declares a dark mode for readers who ask for one.
Does the text on npmjs.com pass WCAG AA?
Yes. All of the text the study measured reaches 4.5:1 against what it sits on, or 3:1 where it is large; half of it reads at 12.63:1 or better.
Can I see npmjs.com in another palette?
Yes. Load npmjs.com in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.
Sources
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 540 recolor.page
- npmjs.com, the page measured npmjs.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com