A detailed comparison of #1A1E2D and #272D1A — complementary colors
background: linear-gradient(to right, #1A1E2D, #272D1A);
With a contrast ratio of 1.16: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 150\u00B0 hue difference, making them complementary. Their high contrast creates visual energy — great for call-to-action buttons, hero sections, and brand accents.