Export

Code

/* Pearl Gray — colorset.net */
:root {
  --color-1: #D9D9D9;
  --color-2: #E3E3E3;
  --color-3: #EDEDED;
  --color-4: #F7F7F7;
  --color-5: #FEFEFE;

  --color-bg: #FEFEFE;
  --color-surface: #F5F5F5;
  --color-border: #DFDBDC;
  --color-text: #515151;
  --color-muted: #6F6F6F;
  --color-primary: #8E8E8E;
  --color-on-primary: #000000;
  --color-accent: #5D5D5D;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #FEFEFE;
    --color-muted: #8F8F8F;
    --color-primary: #D9D9D9;
    --color-on-primary: #0F0F0F;
    --color-accent: #EDEDED;
    --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 #D9D9D9
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #D9D9D9from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #D9D9D9from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #D9D9D9from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.87:1AAA pass 4.5:1
Text on surface7.28:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary6.41:1AA pass 4.5:1
Label on accent6.58:1AA pass 4.5:1
Primary on background3.25:1AA Large pass 3:1
Accent on background6.53:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background19.01:1AAA pass 4.5:1
Text on surface17.43:1AAA pass 4.5:1
Muted text on background5.93:1AA pass 4.5:1
Label on primary13.58:1AAA pass 4.5:1
Label on accent16.37:1AAA pass 4.5:1
Primary on background13.58:1AAA pass 3:1
Accent on background16.37: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#D9D9D9 (Text 1)#E3E3E3 (Text 2)#EDEDED (Text 3)#F7F7F7 (Text 4)#FEFEFE (Text 5)
#D9D9D9Same color1.10—1.21—1.32—1.40—
#E3E3E31.10—Same color1.10—1.20—1.27—
#EDEDED1.21—1.10—Same color1.09—1.16—
#F7F7F71.32—1.20—1.09—Same color1.06—
#FEFEFE1.40—1.27—1.16—1.06—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#D9D9D9#E3E3E3#EDEDED#F7F7F7#FEFEFE

Variations

About Pearl Gray

Pearl Gray is a balanced neutral palette of 5 colors that runs from white #FEFEFE to light gray #D9D9D9. There is no real hue here; neutrals between #D9D9D9 and #FEFEFE do all the work with value contrast. All five colors stay in a narrow light band (89% to 100% lightness, #D9D9D9 to #FEFEFE), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #EDEDED in the middle is a true gray. As a UI theme it uses #8E8E8E for primary actions and #5D5D5D as the accent; dark mode sits on #0F0F0F with #FEFEFE text (19.0:1). Its monochrome character, led by #D9D9D9, suits minimal portfolios, editorial layouts and documentation sites.

These colors are almost the same as Pure White.

Pearl Gray color palette: #D9D9D9, #E3E3E3, #EDEDED, #F7F7F7, #FEFEFE
Share image for Pearl Gray

Gradients in similar colors