Export

Code

/* Pearl Grey — colorset.net */
:root {
  --color-1: #C8C8C8;
  --color-2: #D0D0D0;
  --color-3: #D8D8D8;
  --color-4: #E0E0E0;
  --color-5: #E8E8E8;

  --color-bg: #E8E8E8;
  --color-surface: #EFEFEF;
  --color-border: #D3CECF;
  --color-text: #4B4B4B;
  --color-muted: #666666;
  --color-primary: #848484;
  --color-on-primary: #000000;
  --color-accent: #535353;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #E8E8E8;
    --color-muted: #838383;
    --color-primary: #C8C8C8;
    --color-on-primary: #0F0F0F;
    --color-accent: #939393;
    --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 #C8C8C8
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #C8C8C8from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #C8C8C8from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #C8C8C8adjusted for contrast · from #C8C8C8
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.12:1AAA pass 4.5:1
Text on surface7.59:1AAA pass 4.5:1
Muted text on background4.69:1AA pass 4.5:1
Label on primary5.61:1AA pass 4.5:1
Label on accent7.69:1AAA pass 4.5:1
Primary on background3.05:1AA Large pass 3:1
Accent on background6.28:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.64:1AAA pass 4.5:1
Text on surface14.35:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary11.46:1AAA pass 4.5:1
Label on accent6.24:1AA pass 4.5:1
Primary on background11.46:1AAA pass 3:1
Accent on background6.24:1AA 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#C8C8C8 (Text 1)#D0D0D0 (Text 2)#D8D8D8 (Text 3)#E0E0E0 (Text 4)#E8E8E8 (Text 5)
#C8C8C8Same color1.08—1.17—1.27—1.37—
#D0D0D01.08—Same color1.08—1.17—1.26—
#D8D8D81.17—1.08—Same color1.08—1.16—
#E0E0E01.27—1.17—1.08—Same color1.08—
#E8E8E81.37—1.26—1.16—1.08—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#C8C8C8#D0D0D0#D8D8D8#E0E0E0#E8E8E8

Variations

About Pearl Grey

Pearl Grey is a balanced neutral palette of 5 colors that runs from light gray #E8E8E8 to light gray #C8C8C8. There is no real hue here; neutrals between #C8C8C8 and #E8E8E8 do all the work with value contrast. All five colors stay in a narrow light band (83% to 93% lightness, #C8C8C8 to #E8E8E8), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #D8D8D8 in the middle is a true gray. As a UI theme it uses #848484 for primary actions and #535353 as the accent; dark mode sits on #0F0F0F with #E8E8E8 text (15.6:1). Try it for documentation, e-commerce product pages and clean landing pages, letting light gray #C8C8C8 carry the key actions.

Pearl Grey color palette: #C8C8C8, #D0D0D0, #D8D8D8, #E0E0E0, #E8E8E8
Share image for Pearl Grey

Gradients in similar colors