Export

Code

/* Pebble Gray — colorset.net */
:root {
  --color-1: #9B9B9B;
  --color-2: #AFAFAF;
  --color-3: #C3C3C3;
  --color-4: #D7D7D7;
  --color-5: #EBEBEB;

  --color-bg: #EBEBEB;
  --color-surface: #F2F2F2;
  --color-border: #D6D1D2;
  --color-text: #4D4D4D;
  --color-muted: #686868;
  --color-primary: #868686;
  --color-on-primary: #000000;
  --color-accent: #555555;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #EBEBEB;
    --color-muted: #858585;
    --color-primary: #9B9B9B;
    --color-on-primary: #0F0F0F;
    --color-accent: #D7D7D7;
    --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
Backgroundfrom palette · color 5adjusted for contrast · from #9B9B9B
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #9B9B9Bfrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #9B9B9Bfrom palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #9B9B9Bfrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.09:1AAA pass 4.5:1
Text on surface7.55:1AAA pass 4.5:1
Muted text on background4.67:1AA pass 4.5:1
Label on primary5.77:1AA pass 4.5:1
Label on accent7.46:1AAA pass 4.5:1
Primary on background3.05:1AA Large pass 3:1
Accent on background6.25:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.08:1AAA pass 4.5:1
Text on surface14.75:1AAA pass 4.5:1
Muted text on background5.19:1AA pass 4.5:1
Label on primary6.90:1AA pass 4.5:1
Label on accent13.32:1AAA pass 4.5:1
Primary on background6.90:1AA pass 3:1
Accent on background13.32: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#9B9B9B (Text 1)#AFAFAF (Text 2)#C3C3C3 (Text 3)#D7D7D7 (Text 4)#EBEBEB (Text 5)
#9B9B9BSame color1.27—1.58—1.93—2.33—
#AFAFAF1.27—Same color1.24—1.52—1.84—
#C3C3C31.58—1.24—Same color1.22—1.48—
#D7D7D71.93—1.52—1.22—Same color1.21—
#EBEBEB2.33—1.84—1.48—1.21—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#9B9B9B#AFAFAF#C3C3C3#D7D7D7#EBEBEB

Variations

About Pebble Gray

Pebble Gray is a balanced neutral palette of 5 colors that runs from white #EBEBEB to gray #9B9B9B. There is no real hue here; neutrals between #9B9B9B and #EBEBEB do all the work with value contrast. All five colors stay in a narrow light band (69% to 94% lightness, #9B9B9B to #EBEBEB), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #C3C3C3 in the middle is a true gray. Text contrast reaches 7.1:1 in light mode and 16.1:1 in dark mode, with #868686 as primary and #555555 as accent. Its monochrome character, led by #9B9B9B, suits minimal portfolios, editorial layouts and documentation.

Pebble Gray color palette: #9B9B9B, #AFAFAF, #C3C3C3, #D7D7D7, #EBEBEB
Share image for Pebble Gray

Gradients in similar colors