#FFEAFB Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #ffeafb graphic
#ffeafb is a luminous, desaturated magenta with distinct grey undertones. Its soft appearance makes it a versatile choice for neutral backgrounds that feel less clinical than stark white. Pair this hex code with deep charcoal or navy for sharp, legible UI designs. Because it maintains an 18.4:1 contrast ratio with black text, your body copy remains highly accessible for every user.

Questions about #ffeafb

What is #ffeafb in RGB, HSL and CMYK?
In RGB, #ffeafb is rgb(255, 234, 251), in HSL hsl(311, 100%, 96%) and in CMYK 0%, 8%, 2%, 0%.
What colors pair well with #ffeafb in a design system?
#ffeafb works best as a primary neutral background when anchored by high-contrast typography in charcoal or navy. These darker tones provide the necessary structure to keep the overall interface feeling balanced, professional, and easy to read.
Is #ffeafb readable on white or black?
#ffeafb has a 1.14:1 contrast ratio on white and 18.41:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.