CSS named color
LavenderBlush #FFF0F5
LavenderBlush (CSS keyword lavenderblush) has the hex code #FFF0F5 and the RGB value rgb(255, 240, 245): an off-white with a pink tint.
A near-white with a faint pink tint, despite the lavender in the name. Close to mistyrose but lighter.
Color codes for LavenderBlush
| CSS keyword | lavenderblush |
|---|---|
| HEX | #FFF0F5 |
| RGB | rgb(255, 240, 245) |
| HSL | hsl(340, 100%, 97%) |
| HWB | hwb(340 94% 0%) |
| OKLCH | oklch(96.8% 0.017 355.1) |
| CMYK (naive, no ICC profile) | cmyk(0%, 6%, 4%, 0%) |
| Decimal | 16,773,365 |
| Hue family | Whites and off-whites |
Contrast and accessibility
On lavenderblush, black text has a contrast ratio of 19.03:1 and passes AAA at any text size; white text reaches 1.10:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on lavenderblush | 19.03:1 | Pass | Pass | Pass | Pass | 99.3 |
| White text on lavenderblush | 1.10:1 | Fail | Fail | Fail | Fail | 0.0 |
| Lavenderblush text on white | 1.10:1 | Fail | Fail | Fail | Fail | 0.0 |
| Lavenderblush text on black | 19.03:1 | Pass | Pass | Pass | Pass | −100.4 |
Tints and shades
Each step mixes lavenderblush with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, lavenderblush, white 25%) in CSS.
Tints (mixed with white)
- 5%
#fff1f6 - 15%
#fff2f7 - 25%
#fff4f8 - 35%
#fff5f9 - 45%
#fff7fa - 55%
#fff8fb - 65%
#fffafc - 75%
#fffbfd - 85%
#fffdfe - 95%
#fffeff
Shades (mixed with black)
- 5%
#f2e4e9 - 15%
#d9ccd0 - 25%
#bfb4b8 - 35%
#a69c9f - 45%
#8c8487 - 55%
#736c6e - 65%
#595456 - 75%
#403c3d - 85%
#262425 - 95%
#0d0c0c
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, lavenderblush's complementary color is #E9F9F4 (close to whitesmoke), its analogous colors are #FBF1FB and #FFF0EF, and its triadic partners are #F4F6E9 and #EAF7FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #e9f9f4 |
| Analogous | −30°, +30° | #fbf1fb#fff0ef |
| Triadic | +120°, +240° | #f4f6e9#eaf7ff |
| Split-complementary | +150°, +210° | #eef8ee#e8f8fa |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
LavenderBlush is close to neutral: its OKLCH chroma is only 0.017, so its temperature comes from context. The faint 340° hue gives it a slightly warm cast.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| whitesmoke | #f5f5f5 | 1.8 |
| seashell | #fff5ee | 1.8 |
| ghostwhite | #f8f8ff | 2.1 |
Code snippets
.element {
color: lavenderblush;
background-color: #fff0f5;
border-color: rgb(255 240 245);
outline-color: oklch(96.8% 0.017 355.1);
}<div class="bg-[#fff0f5] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-lavenderblush: #fff0f5;
}
/* then use bg-lavenderblush, text-lavenderblush, border-lavenderblush */import SwiftUI
extension Color {
static let lavenderblush = Color(red: 1.000, green: 0.941, blue: 0.961)
}import androidx.compose.ui.graphics.Color
val Lavenderblush = Color(0xFFFFF0F5)import 'package:flutter/material.dart';
const lavenderblush = Color(0xFFFFF0F5);<!-- res/values/colors.xml -->
<color name="lavenderblush">#FFF0F5</color>Frequently asked questions
- What is the hex code for lavenderblush?
- The hex code for lavenderblush is #FFF0F5. The same color is rgb(255, 240, 245), hsl(340, 100%, 97%) and oklch(96.8% 0.017 355.1), and in CSS you can also write the keyword lavenderblush directly.
- Is lavenderblush a warm or cool color?
- LavenderBlush is close to neutral: its OKLCH chroma is only 0.017, so its temperature comes from context. The faint 340° hue gives it a slightly warm cast.
- What colors go with lavenderblush?
- Rotating the hue in OKLCH while keeping lightness and chroma, lavenderblush's complementary color is #E9F9F4 (close to whitesmoke), its analogous colors are #FBF1FB and #FFF0EF, and its triadic partners are #F4F6E9 and #EAF7FF. For text on top, black gives the higher contrast.
- Can you use white text on lavenderblush?
- White text on lavenderblush has a contrast ratio of 1.10:1, which fails AA even for large text under WCAG 2.2. Black text reaches 19.03:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 99.3 for black.
- What is the RGB value of lavenderblush?
- LavenderBlush is rgb(255, 240, 245): red 255, green 240 and blue 245 on the 0 to 255 scale, or 100.0%, 94.1% and 96.1%. As a decimal integer it is 16773365.
Last reviewed by Arielton Oberek.