Pixel Colors

Export

Code

/* Pixel Colors — colorset.net */
:root {
  --color-1: #8B4513;
  --color-2: #228B22;
  --color-3: #1E90FF;
  --color-4: #FF4500;
  --color-5: #9932CC;

  --color-bg: #FFF4F1;
  --color-surface: #FAE9E4;
  --color-border: #E5D0CA;
  --color-text: #76401C;
  --color-muted: #7F6557;
  --color-primary: #9932CC;
  --color-on-primary: #FFFFFF;
  --color-accent: #1D881E;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1B0A03;
    --color-surface: #26140A;
    --color-border: #3E281B;
    --color-text: #C29A90;
    --color-muted: #997B73;
    --color-primary: #9932CC;
    --color-on-primary: #FFFFFF;
    --color-accent: #1D881E;
    --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 #1E90FFadjusted for contrast · from #8B4513
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8B4513adjusted for contrast · from #FF4500
Muted textderivedderived
Primaryfrom palette · color 5from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #228B22adjusted for contrast · from #228B22
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.72:1AAA pass 4.5:1
Text on surface7.08:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent4.57:1AA pass 4.5:1
Primary on background5.28:1AA pass 3:1
Accent on background4.24:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.62:1AAA pass 4.5:1
Text on surface7.01:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent4.57:1AA pass 4.5:1
Primary on background3.37:1AA Large pass 3:1
Accent on background4.21: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#8B4513 (Text 1)#228B22 (Text 2)#1E90FF (Text 3)#FF4500 (Text 4)#9932CC (Text 5)
#8B4513Same color1.62—2.19—2.06—1.24—
#228B221.62—Same color1.36—1.28—1.30—
#1E90FF2.19—1.36—Same color1.06—1.76—
#FF45002.06—1.28—1.06—Same color1.66—
#9932CC1.24—1.30—1.76—1.66—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#8B4513#228B22#1E90FF#FF4500#9932CC

Variations

About Pixel Colors

No single hue dominates Pixel Colors: red carries about 22% of the color weight, shared with purple and blue, and green #228B22 sits in the middle of the range. A 169° hue spread puts green against vivid purple #9932CC, close to a complementary contrast. All five colors stay in a narrow mid-tone band (47% to 66% lightness, #8B4513 to #FF4500), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.186, peaking at 0.229 in #FF4500); the colors feel saturated and energetic. In light mode #FFF4F1 becomes the background with #76401C text at 7.7:1, and #9932CC takes the primary role. Its vivid and colorful character, led by #9932CC, suits data visualization, brand systems with many sub-brands and marketing pages.

Pixel Colors color palette: #8B4513, #228B22, #1E90FF, #FF4500, #9932CC
Share image for Pixel Colors

Gradients in similar colors