Export

Code

/* Soft Gray — colorset.net */
:root {
  --color-1: #7A7A7A;
  --color-2: #969696;
  --color-3: #B3B3B3;
  --color-4: #CCCCCC;
  --color-5: #E0E0E0;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #4D4D4D;
  --color-muted: #6A6A6A;
  --color-primary: #7A7A7A;
  --color-on-primary: #000000;
  --color-accent: #4A4A4A;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #E0E0E0;
    --color-muted: #828282;
    --color-primary: #7A7A7A;
    --color-on-primary: #000000;
    --color-accent: #CCCCCC;
    --color-on-accent: #0F0F0F;
  }
}

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 #E0E0E0adjusted for contrast · from #7A7A7A
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #7A7A7Afrom palette · color 5
Muted textderivedderived
Primaryfrom palette · color 1from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #7A7A7Afrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.89:1AAA pass 4.5:1
Text on surface7.22:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary4.89:1AA pass 4.5:1
Label on accent8.86:1AAA pass 4.5:1
Primary on background4.01:1AA Large pass 3:1
Accent on background8.27:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.52:1AAA pass 4.5:1
Text on surface13.32:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.89:1AA pass 4.5:1
Label on accent11.94:1AAA pass 4.5:1
Primary on background4.47:1AA Large pass 3:1
Accent on background11.94:1AAA 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#7A7A7A (Text 1)#969696 (Text 2)#B3B3B3 (Text 3)#CCCCCC (Text 4)#E0E0E0 (Text 5)
#7A7A7ASame color1.45—2.05—2.67—3.25AA Large
#9696961.45—Same color1.41—1.84—2.24—
#B3B3B32.05—1.41—Same color1.31—1.59—
#CCCCCC2.67—1.84—1.31—Same color1.22—
#E0E0E03.25AA Large2.24—1.59—1.22—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#7A7A7A#969696#B3B3B3#CCCCCC#E0E0E0

Variations

About Soft Gray

Five colors make up Soft Gray, a balanced neutral set: #7A7A7A, #969696, #B3B3B3, #CCCCCC, #E0E0E0. Every color is a neutral, from #E0E0E0 down to #7A7A7A, so the palette works through light and shade alone. With lightness between 58% and 91% and #B3B3B3 near the middle, there is enough spread for layered surfaces but not maximum text contrast. There is effectively no chroma in any of the colors, so #B3B3B3 and the rest read as pure grays. In light mode #F7F7F7 becomes the background with #4D4D4D text at 7.9:1, and #7A7A7A takes the primary role. Its monochrome character, led by #7A7A7A, suits icons and logos, typography-led layouts and focused single-product sites.

Soft Gray color palette: #7A7A7A, #969696, #B3B3B3, #CCCCCC, #E0E0E0
Share image for Soft Gray

Gradients in similar colors