In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Conversation Hearts — colorset.net */
:root {
--color-1: #FDF6F8;
--color-2: #F7A8C4;
--color-3: #B9A6E8;
--color-4: #A8E0D1;
--color-5: #5A3A52;
--color-bg: #FDF6F8;
--color-surface: #F4EDEF;
--color-border: #DED3D6;
--color-text: #5A3A52;
--color-muted: #7B6375;
--color-primary: #7F6CAA;
--color-on-primary: #FFFFFF;
--color-accent: #5E9486;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160B13;
--color-surface: #20151D;
--color-border: #372833;
--color-text: #FDF6F8;
--color-muted: #908A8C;
--color-primary: #B9A6E8;
--color-on-primary: #160B13;
--color-accent: #7D5B74;
--color-on-accent: #FFFFFF;
}
}
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 1 | für Kontrast angepasst · aus #5A3A52 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #5A3A52 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #B9A6E8 | für Kontrast angepasst · aus #5A3A52 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 9,12:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 8,42:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,08:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,54:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,06:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,26:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,26:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,06:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,62:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,68:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 8,87:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,80:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 8,87:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,32:1 | AA groß 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 | #FDF6F8 (Text 1) | #F7A8C4 (Text 2) | #B9A6E8 (Text 3) | #A8E0D1 (Text 4) | #5A3A52 (Text 5) |
|---|---|---|---|---|---|
| #FDF6F8 | Gleiche Farbe | 1,74— | 2,04— | 1,38— | 9,12AAA |
| #F7A8C4 | 1,74— | Gleiche Farbe | 1,17— | 1,25— | 5,25AA |
| #B9A6E8 | 2,04— | 1,17— | Gleiche Farbe | 1,47— | 4,48AA groß |
| #A8E0D1 | 1,38— | 1,25— | 1,47— | Gleiche Farbe | 6,59AA |
| #5A3A52 | 9,12AAA | 5,25AA | 4,48AA groß | 6,59AA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
