Gumball Machine

Export

Code

/* Gumball Machine — colorset.net */
:root {
  --color-1: #EA2126;
  --color-2: #ED7B00;
  --color-3: #EDC812;
  --color-4: #09AF51;
  --color-5: #337AEF;

  --color-bg: #FBF7E8;
  --color-surface: #F1EEDF;
  --color-border: #DAD5C3;
  --color-text: #314F81;
  --color-muted: #5E6C83;
  --color-primary: #E61A22;
  --color-on-primary: #FFFFFF;
  --color-accent: #2970E5;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #060F1E;
    --color-surface: #101A2A;
    --color-border: #222E42;
    --color-text: #D4CBA6;
    --color-muted: #8A8368;
    --color-primary: #E61A22;
    --color-on-primary: #FFFFFF;
    --color-accent: #2970E5;
    --color-on-accent: #FFFFFF;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #EDC812adjusted for contrast · from #337AEF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #337AEFadjusted for contrast · from #EDC812
Muted textderivedderived
Primaryadjusted for contrast · from #EA2126adjusted for contrast · from #EA2126
On primaryderivedderived
Accentadjusted for contrast · from #337AEFadjusted for contrast · from #337AEF
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.63:1AAA pass 4.5:1
Text on surface7.03:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary4.63:1AA pass 4.5:1
Label on accent4.62:1AA pass 4.5:1
Primary on background4.32:1AA Large pass 3:1
Accent on background4.31:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background11.78:1AAA pass 4.5:1
Text on surface10.71:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary4.63:1AA pass 4.5:1
Label on accent4.62:1AA pass 4.5:1
Primary on background4.14:1AA Large pass 3:1
Accent on background4.15:1AA Large 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.

Every color on every color
Background / Text#EA2126 (Text 1)#ED7B00 (Text 2)#EDC812 (Text 3)#09AF51 (Text 4)#337AEF (Text 5)
#EA2126Same color1.57—2.71—1.53—1.09—
#ED7B001.57—Same color1.73—1.02—1.44—
#EDC8122.71—1.73—Same color1.77—2.49—
#09AF511.53—1.02—1.77—Same color1.40—
#337AEF1.09—1.44—2.49—1.40—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#EA2126#ED7B00#EDC812#09AF51#337AEF

Variations

About Gumball Machine

Five gumballs, five full-strength colors. No single hue dominates Gumball Machine: red carries about 21% of the color weight, shared with blue and green, and vivid green #09AF51 sits in the middle of the range. A 165° hue spread puts light yellow against vivid blue #337AEF, close to a complementary contrast. All five colors stay in a narrow mid-tone band (60% to 84% lightness, #337AEF to #EDC812), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.189, peaking at 0.230 in #EA2126); the colors feel saturated and energetic. Text contrast reaches 7.6:1 in light mode and 11.8:1 in dark mode, with #E61A22 as primary and #2970E5 as accent. Try it for marketing pages, kids’ apps and illustration, letting vivid red #EA2126 carry the key actions.

Gumball Machine color palette: #EA2126, #ED7B00, #EDC812, #09AF51, #337AEF
Share image for Gumball Machine

Gradients in similar colors