Export

Code

/* Garnet Library — colorset.net */
:root {
  --color-1: #F3EBE4;
  --color-2: #7A1F35;
  --color-3: #1F4E46;
  --color-4: #C99A3B;
  --color-5: #21161A;

  --color-bg: #F3EBE4;
  --color-surface: #F8F3EF;
  --color-border: #DDD2C8;
  --color-text: #21161A;
  --color-muted: #73656A;
  --color-primary: #976D00;
  --color-on-primary: #FFFFFF;
  --color-accent: #7A1F35;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #21161A;
    --color-surface: #2C2025;
    --color-border: #44343A;
    --color-text: #F3EBE4;
    --color-muted: #918A84;
    --color-primary: #C99A3B;
    --color-on-primary: #21161A;
    --color-accent: #AE4F60;
    --color-on-accent: #FFFFFF;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.92:1AAA pass 4.5:1
Text on surface15.96:1AAA pass 4.5:1
Muted text on background4.69:1AA pass 4.5:1
Label on primary4.66:1AA pass 4.5:1
Label on accent10.12:1AAA pass 4.5:1
Primary on background3.96:1AA Large pass 3:1
Accent on background8.59:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.92:1AAA pass 4.5:1
Text on surface13.29:1AAA pass 4.5:1
Muted text on background5.17:1AA pass 4.5:1
Label on primary6.84:1AA pass 4.5:1
Label on accent5.14:1AA pass 4.5:1
Primary on background6.84:1AA pass 3:1
Accent on background3.42:1AA Large 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#F3EBE4 (Text 1)#7A1F35 (Text 2)#1F4E46 (Text 3)#C99A3B (Text 4)#21161A (Text 5)
#F3EBE4Same color8.59AAA7.97AAA2.18—14.92AAA
#7A1F358.59AAASame color1.08—3.94AA Large1.74—
#1F4E467.97AAA1.08—Same color3.65AA Large1.87—
#C99A3B2.18—3.94AA Large3.65AA LargeSame color6.84AA
#21161A14.92AAA1.74—1.87—6.84AASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F3EBE4#7A1F35#1F4E46#C99A3B#21161A

Variations

About Garnet Library

Garnet leather and green baize. Garnet Library is a warm multi-color palette of 5 colors that runs from off-white #F3EBE4 to charcoal #21161A. A 170° hue spread puts dark red against dark teal #1F4E46, close to a complementary contrast. Lightness runs from 22% to 94% (OKLCH), with #7A1F35 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.067, peaking at 0.125 in #7A1F35); the colors feel soft and muted. In light mode #F3EBE4 becomes the background with #21161A text at 14.9:1, and #976D00 takes the primary role. Try it for marketing pages, brand systems with many sub-brands and signage, letting yellow #C99A3B carry the key actions.

Garnet Library color palette: #F3EBE4, #7A1F35, #1F4E46, #C99A3B, #21161A
Share image for Garnet Library

Gradients in similar colors