About Lavender Blush
Lavender Blush (lavenderblush) is a very light, vivid pink with the hex code #fff0f5, or rgb(255, 240, 245). In HSL it sits at a hue of 340°, 100% saturation and 97% lightness. It is one of the 148 named colors every browser understands, so you can write color: lavenderblush; instead of the hex value.
Using Lavender Blush for text and backgrounds
| Pairing | Contrast ratio | WCAG |
|---|---|---|
| Lavender Blush text on white | 1.10 : 1 | fails |
| Lavender Blush text on black | 19.03 : 1 | AAA |
On a lavender blush background, use black text (19.03 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.
CSS
.element {
color: lavenderblush; /* or #fff0f5 */
background-color: #fff0f5;
border: 1px solid rgb(255 240 245 / 50%);
}
Similar named colors
Sea Shell (#fff5ee), Floral White (#fffaf0), Snow (#fffafa), White Smoke (#f5f5f5), Ghost White (#f8f8ff), Ivory (#fffff0).