Skip to content

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.

LavenderBlush#FFF0F5

A near-white with a faint pink tint, despite the lavender in the name. Close to mistyrose but lighter.

Color codes for LavenderBlush

Color codes for LavenderBlush
CSS keywordlavenderblush
HEX#FFF0F5
RGBrgb(255, 240, 245)
HSLhsl(340, 100%, 97%)
HWBhwb(340 94% 0%)
OKLCHoklch(96.8% 0.017 355.1)
CMYK (naive, no ICC profile)cmyk(0%, 6%, 4%, 0%)
Decimal16,773,365
Hue familyWhites 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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on lavenderblush19.03:1PassPassPassPass99.3
White text on lavenderblush1.10:1FailFailFailFail0.0
Lavenderblush text on white1.10:1FailFailFailFail0.0
Lavenderblush text on black19.03:1PassPassPassPass−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)

  1. 5%
    #fff1f6
  2. 15%
    #fff2f7
  3. 25%
    #fff4f8
  4. 35%
    #fff5f9
  5. 45%
    #fff7fa
  6. 55%
    #fff8fb
  7. 65%
    #fffafc
  8. 75%
    #fffbfd
  9. 85%
    #fffdfe
  10. 95%
    #fffeff

Shades (mixed with black)

  1. 5%
    #f2e4e9
  2. 15%
    #d9ccd0
  3. 25%
    #bfb4b8
  4. 35%
    #a69c9f
  5. 45%
    #8c8487
  6. 55%
    #736c6e
  7. 65%
    #595456
  8. 75%
    #403c3d
  9. 85%
    #262425
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
whitesmoke#f5f5f51.8
seashell#fff5ee1.8
ghostwhite#f8f8ff2.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
pink-50#fdf2f80.5
rose-50#fff1f20.5
red-50#fef2f20.8

Code snippets

CSS
.element {
  color: lavenderblush;
  background-color: #fff0f5;
  border-color: rgb(255 240 245);
  outline-color: oklch(96.8% 0.017 355.1);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let lavenderblush = Color(red: 1.000, green: 0.941, blue: 0.961)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Lavenderblush = Color(0xFFFFF0F5)
Flutter
import 'package:flutter/material.dart';

const lavenderblush = Color(0xFFFFF0F5);
Android XML
<!-- 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.