In der VorschauZu dieser PaletteIm Generator öffnen
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;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #E86A9A | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #E86A9A | aus der Palette · Farbe 2 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,45:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,52:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,69:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,12:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,10:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,02:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,03:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,45:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,63:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,34:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,75:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,63:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,75:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,63:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #121A2C (Text 1) | #F7D046 (Text 2) | #E86A9A (Text 3) | #2A3550 (Text 4) | #F2F1F6 (Text 5) |
|---|---|---|---|---|---|
| #121A2C | Gleiche Farbe | 11,63AAA | 5,75AA | 1,42— | 15,45AAA |
| #F7D046 | 11,63AAA | Gleiche Farbe | 2,02— | 8,16AAA | 1,33— |
| #E86A9A | 5,75AA | 2,02— | Gleiche Farbe | 4,04AA groß | 2,69— |
| #2A3550 | 1,42— | 8,16AAA | 4,04AA groß | Gleiche Farbe | 10,84AAA |
| #F2F1F6 | 15,45AAA | 1,33— | 2,69— | 10,84AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
