Pantone 532 C, P 1-1 C & 232 U colour palette
The palette uses Midnight Ink, Soft White and Orchid Pink.
Preview on a website Try on walls
Colour codes
| Colour | HEX | RGB | OKLCH | Text on it |
|---|---|---|---|---|
| Midnight Ink | #1C1F2A | rgb(28 31 42) | oklch(24.1% 0.022 272.8) |
White (16.42:1) |
| Soft White | #F8F7F2 | rgb(248 247 242) | oklch(97.6% 0.007 97.4) |
Black (19.58:1) |
| Orchid Pink | #F16AB7 | rgb(241 106 183) | oklch(71.1% 0.185 347.5) |
Black (7.49:1) |
Contrast between the colours
2 of 3 colour pairs pass WCAG AA for body text. The strongest is Midnight Ink with Soft White at 15.31:1.
| Pair | Ratio | Body text AA (4.5:1) | Body text AAA (7:1) | Large text and icons (3:1) |
|---|---|---|---|---|
| Midnight Ink / Soft White | 15.31:1 | Pass | Pass | Pass |
| Midnight Ink / Orchid Pink | 5.85:1 | Pass | Fail | Pass |
| Soft White / Orchid Pink | 2.62:1 | Fail | Fail | Fail |
Results use the unrounded WCAG 2.2 ratio, so a pair shown as 4.50:1 can still fail. W3C contrast guidance
Use it on a website
Swatchproof puts the lightest workable colour behind the text and changes as few colours as possible to reach 4.5:1.
| Background | #F8F7F2 Soft White |
|---|---|
| Text | #1C1F2A Midnight Ink |
| Button | #F16AB7 Orchid Pink |
| Button text | #000000 |
:root {
--background: #F8F7F2;
--text: #1C1F2A;
--accent: #F16AB7;
--on-accent: #000000;
}