A detailed comparison of #400D59 and #7C1373 — analogous colors
background: linear-gradient(to right, #400D59, #7C1373);
With a contrast ratio of 1.55:1, this pair does not meet WCAG guidelines for text. Use these colors as adjacent blocks, gradients, or decorative accents rather than text-on-background pairings.
These colors have a 25\u00B0 hue difference, making them analogous. They create a harmonious, cohesive palette ideal for subtle variations in a design system.