Export

Code

/* Midsummer Night — colorset.net */
:root {
  --color-1: #121A2C;
  --color-2: #F7D046;
  --color-3: #E86A9A;
  --color-4: #2A3550;
  --color-5: #F2F1F6;

  --color-bg: #F2F1F6;
  --color-surface: #F9F9FC;
  --color-border: #D9D8E0;
  --color-text: #121A2C;
  --color-muted: #626C82;
  --color-primary: #DD6191;
  --color-on-primary: #121A2C;
  --color-accent: #A78800;
  --color-on-accent: #121A2C;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121A2C;
    --color-surface: #1C2538;
    --color-border: #303A50;
    --color-text: #F2F1F6;
    --color-muted: #8F8E93;
    --color-primary: #E86A9A;
    --color-on-primary: #121A2C;
    --color-accent: #F7D046;
    --color-on-accent: #121A2C;
  }
}

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 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #E86A9Afrom palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #E86A9Afrom palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.45:1AAA pass 4.5:1
Text on surface16.52:1AAA pass 4.5:1
Muted text on background4.69:1AA pass 4.5:1
Label on primary5.12:1AA pass 4.5:1
Label on accent5.10:1AA pass 4.5:1
Primary on background3.02:1AA Large pass 3:1
Accent on background3.03:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.45:1AAA pass 4.5:1
Text on surface13.63:1AAA pass 4.5:1
Muted text on background5.34:1AA pass 4.5:1
Label on primary5.75:1AA pass 4.5:1
Label on accent11.63:1AAA pass 4.5:1
Primary on background5.75:1AA pass 3:1
Accent on background11.63:1AAA 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#121A2C (Text 1)#F7D046 (Text 2)#E86A9A (Text 3)#2A3550 (Text 4)#F2F1F6 (Text 5)
#121A2CSame color11.63AAA5.75AA1.42—15.45AAA
#F7D04611.63AAASame color2.02—8.16AAA1.33—
#E86A9A5.75AA2.02—Same color4.04AA Large2.69—
#2A35501.42—8.16AAA4.04AA LargeSame color10.84AAA
#F2F1F615.45AAA1.33—2.69—10.84AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#121A2C#F7D046#E86A9A#2A3550#F2F1F6

Variations

About Midsummer Night

Midsummer-night navy with firefly yellow and a pink lantern. Midsummer Night is a warm multi-color palette of 5 colors that runs from white #F2F1F6 to deep blue #121A2C. A 174° hue spread puts light yellow against dark blue #2A3550, close to a complementary contrast. Lightness runs from 22% to 96% (OKLCH), with #E86A9A in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.083, peaking at 0.163 in #E86A9A); the colors feel soft and muted. Text contrast reaches 15.4:1 in light mode and 15.4:1 in dark mode, with #DD6191 as primary and #A78800 as accent. With #E86A9A leading, good fits include brand systems with many sub-brands, marketing pages and illustration.

Midsummer Night color palette: #121A2C, #F7D046, #E86A9A, #2A3550, #F2F1F6
Share image for Midsummer Night

Gradients in similar colors