Free Accessible CSS Gradient Generator

← All Colors
#FFFAFA Snow

Snow Hex Code #FFFAFA

Snow is a very light off-white with the hex code #FFFAFA. In RGB it is 255, 250, 250, and in HSL it is 0°, 100%, 99%. It is one of the 148 named colors in CSS, so you can write “snow” instead of the hex code.

HEX
#FFFAFA
RGB
rgb(255, 250, 250)
HSL
hsl(0, 100%, 99%)
HSV
hsv(0°, 2%, 100%)
CMYK
cmyk(0%, 2%, 2%, 0%)
CSS name
snow

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Snow

On a white background Snow has a contrast ratio of 1.03:1 (Fail), and on black 20.31: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 Snow

Tints mix Snow with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Pairing Snow with an accent color

Snow 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 Snow.

Snow 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 Snow scores against white and black.

Contrast of Snow with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 1.03:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 20.31:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Snow1.03:1
Aa Black text on Snow20.31:1

Snow and color blindness

These are approximate previews of how Snow can look with the main types of color vision deficiency.

Protanopia #FBFBFA

Snow looks almost the same.

Deuteranopia #FCFBFA

Snow looks almost the same.

Tritanopia #FFFAFA

Snow looks almost the same.

Achromatopsia #FBFBFB

Snow looks almost the same.

Gradients with Snow

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Snow to a lighter tint

background: linear-gradient(135deg, #fffafa 0%, #fffdfd 100%);

Snow to a darker shade

background: linear-gradient(135deg, #fffafa 0%, #666464 100%);

Snow to Dark Orchid

background: linear-gradient(135deg, #fffafa 0%, #9932cc 100%);

Colors similar to Snow

How each close match differs from Snow.

More white & cream colors →

Use Snow in code

CSS
.element {
  color: #fffafa;
  background-color: #fffafa;
  border-color: snow;   /* snow is a valid CSS color name */
}
CSS variable
:root {
  --color-snow: #fffafa;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#fffafa] text-[#fffafa] border-[#fffafa]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-snow: #fffafa;
}

Snow questions

What is the hex code for Snow?

The hex code for Snow is #FFFAFA. In RGB that is rgb(255, 250, 250), and in HSL it is hsl(0, 100%, 99%).

Which colors go well with Snow?

Snow 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.51:1), Crimson (4.83:1), Royal Blue (4.69:1).

Should I use white or black text on Snow?

Black text. It has a contrast ratio of 20.31:1 against Snow, which is WCAG AAA. The other option scores 1.03:1.

Is Snow accessible as a text color on white?

No. Snow on white scores 1.03:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Snow?

Mixing Snow with black gives #CCC8C8, #999696, #666464, #333232 (20% to 80% black). Mixing it with white gives #FFFBFB, #FFFCFC, #FFFDFD, #FFFEFE (20% to 80% white).

More color tools