PreviewingGo to this paletteOpen in generator
Code
/* Primary Pulse — colorset.net */
:root {
--color-1: #FF0040;
--color-2: #40FF00;
--color-3: #0040FF;
--color-4: #FF4000;
--color-5: #00FF40;
--color-bg: #F0FAEE;
--color-surface: #E6F1E5;
--color-border: #CCD9CA;
--color-text: #364E81;
--color-muted: #606C83;
--color-primary: #0040FF;
--color-on-primary: #FFFFFF;
--color-accent: #1D8600;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #232E42;
--color-text: #C4DEBF;
--color-muted: #768972;
--color-primary: #1353FF;
--color-on-primary: #FFFFFF;
--color-accent: #40FF00;
--color-on-accent: #080F1F;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #00FF40 | adjusted for contrast · from #0040FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0040FF | adjusted for contrast · from #00FF40 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #0040FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00FF40 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 6.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.71:1 | AA pass 4.5:1 | |
| Primary on background | 6.17:1 | AA pass 3:1 | |
| Accent on background | 4.40:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.24:1 | AAA pass 4.5:1 | |
| Text on surface | 12.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.66:1 | AA pass 4.5:1 | |
| Label on accent | 14.13:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 14.13:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #FF0040 (Text 1) | #40FF00 (Text 2) | #0040FF (Text 3) | #FF4000 (Text 4) | #00FF40 (Text 5) |
|---|---|---|---|---|---|
| #FF0040 | Same color | 2.91— | 1.68— | 1.12— | 2.89— |
| #40FF00 | 2.91— | Same color | 4.89AA | 2.59— | 1.01— |
| #0040FF | 1.68— | 4.89AA | Same color | 1.88— | 4.84AA |
| #FF4000 | 1.12— | 2.59— | 1.88— | Same color | 2.57— |
| #00FF40 | 2.89— | 1.01— | 4.84AA | 2.57— | Same color |
Shades
Shades and tints (50–950)
