Floral White Hex Code #FFFAF0
Floral White is a very light off-white with the hex code #FFFAF0. In RGB it is 255, 250, 240, and in HSL it is 40°, 100%, 97%. It is one of the 148 named colors in CSS, so you can write “floralwhite” instead of the hex code.
- HEX
- #FFFAF0
- RGB
- rgb(255, 250, 240)
- HSL
- hsl(40, 100%, 97%)
- HSV
- hsv(40°, 6%, 100%)
- CMYK
- cmyk(0%, 2%, 6%, 0%)
- CSS name
- floralwhite
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Floral White
On a white background Floral White has a contrast ratio of 1.04:1 (Fail), and on black 20.18:1 (AAA). Black text is the better choice on top of it.
It has almost no hue of its own, so it pairs comfortably with almost any accent color.
Near-white colors work well as backgrounds and surfaces. Their slight tint feels softer than pure white, which can look harsh across a large screen.
Shades and tints of Floral White
Tints mix Floral White with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Pairing Floral White with an accent color
Floral White has almost no hue of its own, so color schemes built from it would all look the same. A neutral works best as a background or text color beside an accent. This is how six accent colors contrast with Floral White.
- Crimson #DC143C 4.80:1 against Floral White (WCAG AA)
- Dark Orange #FF8C00 2.24:1 against Floral White (WCAG Fail)
- Gold #FFD700 1.35:1 against Floral White (WCAG Fail)
- Sea Green #2E8B57 4.08:1 against Floral White (WCAG AA Large)
- Royal Blue #4169E1 4.66:1 against Floral White (WCAG AA)
- Dark Orchid #9932CC 5.48:1 against Floral White (WCAG AA)
Floral White contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Floral White scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 1.04:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 20.18:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Floral White and color blindness
These are approximate previews of how Floral White can look with the main types of color vision deficiency.
Floral White looks almost the same.
Floral White looks almost the same.
Floral White looks almost the same.
Floral White looks almost the same.
Gradients with Floral White
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Floral White to a lighter tint
background: linear-gradient(135deg, #fffaf0 0%, #fffdf9 100%); Floral White to a darker shade
background: linear-gradient(135deg, #fffaf0 0%, #666460 100%); Floral White to Dark Orchid
background: linear-gradient(135deg, #fffaf0 0%, #9932cc 100%); Colors similar to Floral White
How each close match differs from Floral White.
- Seashell #FFF5EE Very close in lightness, saturation and hue.
- Old Lace #FDF5E6 Very close in lightness, saturation and hue.
- Ivory #FFFFF0 Very close in lightness, saturation and hue.
- Linen #FAF0E6 Slightly darker.
- Snow #FFFAFA Very close in lightness, saturation and hue.
- White #FFFFFF Very close in lightness, saturation and hue.
Use Floral White in code
.element {
color: #fffaf0;
background-color: #fffaf0;
border-color: floralwhite; /* floralwhite is a valid CSS color name */
} :root {
--color-floral-white: #fffaf0;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#fffaf0] text-[#fffaf0] border-[#fffaf0]"></div>
/* Tailwind v4 theme color */
@theme {
--color-floral-white: #fffaf0;
} Floral White questions
What is the hex code for Floral White?
The hex code for Floral White is #FFFAF0. In RGB that is rgb(255, 250, 240), and in HSL it is hsl(40, 100%, 97%).
Which colors go well with Floral White?
Floral White is a neutral color with almost no hue of its own, so it has no true complement and pairs with nearly any accent. The accents that contrast most strongly against it are Dark Orchid (5.48:1), Crimson (4.80:1), Royal Blue (4.66:1).
Should I use white or black text on Floral White?
Black text. It has a contrast ratio of 20.18:1 against Floral White, which is WCAG AAA. The other option scores 1.04:1.
Is Floral White accessible as a text color on white?
No. Floral White on white scores 1.04:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Floral White?
Mixing Floral White with black gives #CCC8C0, #999690, #666460, #333230 (20% to 80% black). Mixing it with white gives #FFFBF3, #FFFCF6, #FFFDF9, #FFFEFC (20% to 80% white).