Export

Code

/* Cocktail Card — colorset.net */
:root {
  --color-1: #F3EBDD;
  --color-2: #23465E;
  --color-3: #C58E3B;
  --color-4: #D8C7A6;
  --color-5: #18181A;

  --color-bg: #F3EBDD;
  --color-surface: #F7F3EA;
  --color-border: #DCD2C1;
  --color-text: #18181A;
  --color-muted: #68686A;
  --color-primary: #9F6A03;
  --color-on-primary: #FFFFFF;
  --color-accent: #23465E;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #18181A;
    --color-surface: #222225;
    --color-border: #37373C;
    --color-text: #F3EBDD;
    --color-muted: #918A7D;
    --color-primary: #C58E3B;
    --color-on-primary: #18181A;
    --color-accent: #4C708A;
    --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 #C58E3Bfrom palette · color 3
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #23465E
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.98:1AAA pass 4.5:1
Text on surface16.01:1AAA pass 4.5:1
Muted text on background4.70:1AA pass 4.5:1
Label on primary4.63:1AA pass 4.5:1
Label on accent9.96:1AAA pass 4.5:1
Primary on background3.91:1AA Large pass 3:1
Accent on background8.41:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.98:1AAA pass 4.5:1
Text on surface13.40:1AAA pass 4.5:1
Muted text on background5.18:1AA pass 4.5:1
Label on primary6.17:1AA pass 4.5:1
Label on accent5.26:1AA pass 4.5:1
Primary on background6.17:1AA pass 3:1
Accent on background3.37: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#F3EBDD (Text 1)#23465E (Text 2)#C58E3B (Text 3)#D8C7A6 (Text 4)#18181A (Text 5)
#F3EBDDSame color8.41AAA2.43—1.40—14.98AAA
#23465E8.41AAASame color3.46AA Large5.99AA1.78—
#C58E3B2.43—3.46AA LargeSame color1.73—6.17AA
#D8C7A61.40—5.99AA1.73—Same color10.67AAA
#18181A14.98AAA1.78—6.17AA10.67AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F3EBDD#23465E#C58E3B#D8C7A6#18181A

Variations

About Cocktail Card

Peacock teal and old gold on menu-card ivory. No single hue dominates Cocktail Card: orange carries about 36% of the color weight, shared with blue and neutral, and orange #C58E3B sits in the middle of the range. A 166° hue spread puts dark blue against orange #C58E3B, close to a complementary contrast. Lightness runs from 21% to 94% (OKLCH), with #C58E3B in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.050, peaking at 0.119 in #C58E3B); the colors feel soft and muted. Text contrast reaches 15.0:1 in light mode and 15.0:1 in dark mode, with #9F6A03 as primary and #23465E as accent. Try it for marketing pages, brand systems with many sub-brands and editorial design, letting orange #C58E3B carry the key actions.

Cocktail Card color palette: #F3EBDD, #23465E, #C58E3B, #D8C7A6, #18181A
Share image for Cocktail Card

Gradients in similar colors