Export

Code

/* Ebony Piano — colorset.net */
:root {
  --color-1: #0D0D0D;
  --color-2: #1F1F1F;
  --color-3: #313131;
  --color-4: #434343;
  --color-5: #555555;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #0D0D0D;
  --color-muted: #646464;
  --color-primary: #555555;
  --color-on-primary: #FFFFFF;
  --color-accent: #1F1F1F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0D0D0D;
    --color-surface: #171717;
    --color-border: #2D2A2B;
    --color-text: #A4A4A4;
    --color-muted: #818181;
    --color-primary: #666666;
    --color-on-primary: #FFFFFF;
    --color-accent: #989898;
    --color-on-accent: #0D0D0D;
  }
}

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 #555555from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #555555
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #555555
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #555555
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background18.14:1AAA pass 4.5:1
Text on surface16.60:1AAA pass 4.5:1
Muted text on background5.52:1AA pass 4.5:1
Label on primary7.46:1AAA pass 4.5:1
Label on accent16.48:1AAA pass 4.5:1
Primary on background6.96:1AA pass 3:1
Accent on background15.39:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.80:1AAA pass 4.5:1
Text on surface7.19:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.74:1AA pass 4.5:1
Label on accent6.74:1AA pass 4.5:1
Primary on background3.38:1AA Large pass 3:1
Accent on background6.74: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#0D0D0D (Text 1)#1F1F1F (Text 2)#313131 (Text 3)#434343 (Text 4)#555555 (Text 5)
#0D0D0DSame color1.18—1.49—1.96—2.61—
#1F1F1F1.18—Same color1.27—1.67—2.21—
#3131311.49—1.27—Same color1.31—1.74—
#4343431.96—1.67—1.31—Same color1.33—
#5555552.61—2.21—1.74—1.33—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0D0D0D#1F1F1F#313131#434343#555555

Variations

About Ebony Piano

Ebony Piano brings together a near-black, a charcoal and three slates (#0D0D0D, #1F1F1F, #313131, #434343, #555555) in a balanced, neutral-led scheme. Every color is a neutral, from #555555 down to #0D0D0D, so the palette works through light and shade alone. From #0D0D0D to #555555 the colors share a similar dark value (lightness 16%–45%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #313131 and the rest read as pure grays. In light mode #F7F7F7 becomes the background with #0D0D0D text at 18.1:1, and #555555 takes the primary role. Try it for editorial layouts, minimal portfolios and gaming sites, letting slate #555555 carry the key actions.

Ebony Piano color palette: #0D0D0D, #1F1F1F, #313131, #434343, #555555
Share image for Ebony Piano

Gradients in similar colors