Color #ffeafb
A vivid, highly saturated very light magenta.
Conversions
#ffeafb
rgb(255, 234, 251)
hsl(311.4, 100%, 95.9%)
hsv(311.4, 8.2%, 100%)
cmyk(0%, 8.2%, 1.6%, 0%)
lab(94.77, 10.01, -5.61)
lch(94.77, 11.47, 330.73)
oklch(95.9%, 0.0318, 332.22)
hwb(311.4, 91.8%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (18.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#f6f6f7 · ΔE 11.5
Deuteranopia
#f7f9f6 · ΔE 14.7
Tritanopia
#fef4f3 · ΔE 9.1
Achromatopsia
#f0f0f0 · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ffeafb;
bg-[#ffeafb]
Related colors
Frequently asked questions
#ffeafb (#ffeafb) is rgb(255, 234, 251) in RGB.
No, #ffeafb is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #ffeafb, or check how it holds up for accessibility.