A pink site with 22 colors in use, built with Bootstrap 2, all of its text at WCAG AA
The colors of php.net
The main color of php.net is #ae508d, a pink, and its home page uses 22 colors, 12 of them more than a gray, in 3 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 68 distinct color values in 111.4 KB of CSS, half of its text at 11.29:1 or better against what it sits on.
Measured
| Measure | php.net |
|---|---|
| Main color | #ae508d, a pink near mediumvioletred |
| Five heaviest colors | #333333 #f2f2f2 #ae508d #000000 #cccccc |
| Colors in use | 22, 12 more than a gray; 68 distinct values in the CSS |
| Hue families | 3; pink and blue hold 5% or more of its color |
| Canvas | #333333, dark |
| Dark mode in the CSS | No |
| Notations | hex codes 77%, rgb() 8.9%, hsl() 7.6%, named colors 6.4% |
Colors through var() | 28% of its color declarations; 9 variables hold a color |
| Framework | Bootstrap 2 |
| Text contrast | Median 11.29:1; 0% of its text under 4.5:1 |
| Page measured | https://www.php.net/, 111.4 KB of CSS |
The palette of php.net
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 php.net that is #ae508d, #336699, #b9c3f4, #f2f2f2 and #333333. Open php.net in Recolor in its own colors, or try another palette on php.net.
CSS variables
:root {
--color-1: #ae508d;
--color-2: #336699;
--color-3: #b9c3f4;
--color-4: #f2f2f2;
--color-5: #333333;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #ae508d;
--color-2: #336699;
--color-3: #b9c3f4;
--color-4: #f2f2f2;
--color-5: #333333;
--color-primary: #ae508d;
--color-secondary: #336699;
--color-accent: #b9c3f4;
}Text contrast on php.net
Half of the text on php.net reads at 11.29: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. 0.5% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.
How php.net writes its colors
Its CSS writes 314 color values: 77% hex codes, 8.9% in rgb(), 7.6% in hsl() and 6.4% named colors. 28% of its color declarations read a CSS variable through var(), and it defines 9 variables that hold a color.
Its CSS carries Bootstrap's variables, version 2 (one of 130 Bootstrap sites). It declares no dark mode in its CSS, as 59% of the studied sites do not.
Sites with a similar main color
Other pink sites whose main color is about as light as php.net's. All 10 are on the pink page, and colors that go with pink shows what they pair it with. php.net is also listed under Bootstrap sites and dark sites.
Common questions
Is the main color of php.net blue?
No. Its main color is #ae508d, a pink near the CSS color mediumvioletred; blue leads on 49% of the 1,000 sites the study read.
Does php.net use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables; the study found Bootstrap 2.
Is php.net a dark site?
Yes. The color behind its home page is #333333, a dark canvas, as on 66 of the 1,000 sites.
Does the text on php.net 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 11.29:1 or better.
Can I see php.net in another palette?
Yes. Load php.net 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 112 recolor.page
- php.net, the page measured php.net
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com