Skip to content

CSS named color

Snow #FFFAFA

Snow (CSS keyword snow) has the hex code #FFFAFA and the RGB value rgb(255, 250, 250): a near-white with a faint pink tint.

Snow#FFFAFA

A white with a very faint pink tint (#fffafa), practically white on most displays.

Color codes for Snow

Color codes for Snow
CSS keywordsnow
HEX#FFFAFA
RGBrgb(255, 250, 250)
HSLhsl(0, 100%, 99%)
HWBhwb(0 98% 0%)
OKLCHoklch(98.9% 0.005 17.2)
CMYK (naive, no ICC profile)cmyk(0%, 2%, 2%, 0%)
Decimal16,775,930
Hue familyWhites and off-whites

Contrast and accessibility

On snow, black text has a contrast ratio of 20.30:1 and passes AAA at any text size; white text reaches 1.03: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 snow20.30:1PassPassPassPass103.7
White text on snow1.03:1FailFailFailFail0.0
Snow text on white1.03:1FailFailFailFail0.0
Snow text on black20.30:1PassPassPassPass−105.3

Tints and shades

Each step mixes snow with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, snow, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #fffafa
  2. 15%
    #fffbfb
  3. 25%
    #fffbfb
  4. 35%
    #fffcfc
  5. 45%
    #fffcfc
  6. 55%
    #fffdfd
  7. 65%
    #fffdfd
  8. 75%
    #fffefe
  9. 85%
    #fffefe
  10. 95%
    #ffffff

Shades (mixed with black)

  1. 5%
    #f2eeee
  2. 15%
    #d9d5d5
  3. 25%
    #bfbcbc
  4. 35%
    #a6a3a3
  5. 45%
    #8c8a8a
  6. 55%
    #737070
  7. 65%
    #595858
  8. 75%
    #403f3f
  9. 85%
    #262626
  10. 95%
    #0d0d0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, snow's complementary color is #F8FDFD (close to mintcream), its analogous colors are #FEFAFC and #FFFAF8, and its triadic partners are #FAFCF9 and #F9FCFF. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f8fdfd
Analogous−30°, +30°#fefafc#fffaf8
Triadic+120°, +240°#fafcf9#f9fcff
Split-complementary+150°, +210°#f8fdfb#f8fcfe

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?

Snow is close to neutral: its OKLCH chroma is only 0.005, so its temperature comes from context. The faint 0° 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
white#ffffff1.2
ghostwhite#f8f8ff1.3
floralwhite#fffaf01.3

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
taupe-50#fbfaf90.5
olive-50#fbfbf90.6
zinc-50#fafafa0.7

Code snippets

CSS
.element {
  color: snow;
  background-color: #fffafa;
  border-color: rgb(255 250 250);
  outline-color: oklch(98.9% 0.005 17.2);
}
Tailwind CSS
<div class="bg-[#fffafa] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-snow: #fffafa;
}
/* then use bg-snow, text-snow, border-snow */
SwiftUI
import SwiftUI

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

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

const snow = Color(0xFFFFFAFA);
Android XML
<!-- res/values/colors.xml -->
<color name="snow">#FFFAFA</color>

Frequently asked questions

What is the hex code for snow?
The hex code for snow is #FFFAFA. The same color is rgb(255, 250, 250), hsl(0, 100%, 99%) and oklch(98.9% 0.005 17.2), and in CSS you can also write the keyword snow directly.
Is snow a warm or cool color?
Snow is close to neutral: its OKLCH chroma is only 0.005, so its temperature comes from context. The faint 0° hue gives it a slightly warm cast.
What colors go with snow?
Rotating the hue in OKLCH while keeping lightness and chroma, snow's complementary color is #F8FDFD (close to mintcream), its analogous colors are #FEFAFC and #FFFAF8, and its triadic partners are #FAFCF9 and #F9FCFF. For text on top, black gives the higher contrast.
Can you use white text on snow?
White text on snow has a contrast ratio of 1.03:1, which fails AA even for large text under WCAG 2.2. Black text reaches 20.30:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 103.7 for black.
What is the RGB value of snow?
Snow is rgb(255, 250, 250): red 255, green 250 and blue 250 on the 0 to 255 scale, or 100.0%, 98.0% and 98.0%. As a decimal integer it is 16775930.

Last reviewed by Arielton Oberek.