Cocoa And Marshmallow

Export

Code

/* Cocoa And Marshmallow — colorset.net */
:root {
  --color-1: #F5EDE3;
  --color-2: #6F4A3A;
  --color-3: #D9534F;
  --color-4: #BFD8D2;
  --color-5: #2C1D18;

  --color-bg: #F5EDE3;
  --color-surface: #FAF5EF;
  --color-border: #DED4C7;
  --color-text: #2C1D18;
  --color-muted: #7A6862;
  --color-primary: #CE4946;
  --color-on-primary: #FFFFFF;
  --color-accent: #8F887F;
  --color-on-accent: #2C1D18;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #2C1D18;
    --color-surface: #382823;
    --color-border: #513C36;
    --color-text: #F5EDE3;
    --color-muted: #9A9289;
    --color-primary: #CE4946;
    --color-on-primary: #FFFFFF;
    --color-accent: #85726C;
    --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 #D9534Fadjusted for contrast · from #D9534F
On primaryderivedderived
Accentadjusted for contrast · from #D9534Fadjusted for contrast · from #6F4A3A
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.97:1AAA pass 4.5:1
Text on surface14.95:1AAA pass 4.5:1
Muted text on background4.54:1AA pass 4.5:1
Label on primary4.50:1AA pass 4.5:1
Label on accent4.63:1AA pass 4.5:1
Primary on background3.88:1AA Large pass 3:1
Accent on background3.02:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.97:1AAA pass 4.5:1
Text on surface12.10:1AAA pass 4.5:1
Muted text on background5.28:1AA pass 4.5:1
Label on primary4.50:1AA pass 4.5:1
Label on accent4.54:1AA pass 4.5:1
Primary on background3.60:1AA Large pass 3:1
Accent on background3.57: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#F5EDE3 (Text 1)#6F4A3A (Text 2)#D9534F (Text 3)#BFD8D2 (Text 4)#2C1D18 (Text 5)
#F5EDE3Same color6.66AA3.42AA Large1.30—13.97AAA
#6F4A3A6.66AASame color1.95—5.14AA2.10—
#D9534F3.42AA Large1.95—Same color2.64—4.09AA Large
#BFD8D21.30—5.14AA2.64—Same color10.78AAA
#2C1D1813.97AAA2.10—4.09AA Large10.78AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F5EDE3#6F4A3A#D9534F#BFD8D2#2C1D18

Variations

About Cocoa And Marshmallow

Hot cocoa with peppermint and a mint mug. Cocoa And Marshmallow brings together an off-white, a dark brown, a red, a cream and a charcoal (#F5EDE3, #6F4A3A, #D9534F, #BFD8D2, #2C1D18) in a warm, multi-color-led scheme. All hues sit within 19° of each other, so dark brown #6F4A3A and its relatives form a cohesive monochromatic scheme. A 70-point lightness range (25% for #2C1D18 to 95% for #F5EDE3) gives strong value contrast, useful for text on background. Average chroma is 0.059, low for a palette, so the colors feel soft and muted; the most saturated color is #D9534F. As a UI theme it uses #CE4946 for primary actions and #8F887F as the accent; dark mode sits on #2C1D18 with #F5EDE3 text (14.0:1). Try it for data visualization, illustration and focused single-product sites, letting red #D9534F carry the key actions.

Cocoa And Marshmallow color palette: #F5EDE3, #6F4A3A, #D9534F, #BFD8D2, #2C1D18
Share image for Cocoa And Marshmallow

Gradients in similar colors