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.
A white with a very faint pink tint (#fffafa), practically white on most displays.
Color codes for Snow
| CSS keyword | snow |
|---|---|
| HEX | #FFFAFA |
| RGB | rgb(255, 250, 250) |
| HSL | hsl(0, 100%, 99%) |
| HWB | hwb(0 98% 0%) |
| OKLCH | oklch(98.9% 0.005 17.2) |
| CMYK (naive, no ICC profile) | cmyk(0%, 2%, 2%, 0%) |
| Decimal | 16,775,930 |
| Hue family | Whites 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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on snow | 20.30:1 | Pass | Pass | Pass | Pass | 103.7 |
| White text on snow | 1.03:1 | Fail | Fail | Fail | Fail | 0.0 |
| Snow text on white | 1.03:1 | Fail | Fail | Fail | Fail | 0.0 |
| Snow text on black | 20.30:1 | Pass | Pass | Pass | Pass | −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)
- 5%
#fffafa - 15%
#fffbfb - 25%
#fffbfb - 35%
#fffcfc - 45%
#fffcfc - 55%
#fffdfd - 65%
#fffdfd - 75%
#fffefe - 85%
#fffefe - 95%
#ffffff
Shades (mixed with black)
- 5%
#f2eeee - 15%
#d9d5d5 - 25%
#bfbcbc - 35%
#a6a3a3 - 45%
#8c8a8a - 55%
#737070 - 65%
#595858 - 75%
#403f3f - 85%
#262626 - 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.
| Harmony | Rotation | Color |
|---|---|---|
| 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
| Color | HEX | ΔE OK |
|---|---|---|
| white | #ffffff | 1.2 |
| ghostwhite | #f8f8ff | 1.3 |
| floralwhite | #fffaf0 | 1.3 |
Code snippets
.element {
color: snow;
background-color: #fffafa;
border-color: rgb(255 250 250);
outline-color: oklch(98.9% 0.005 17.2);
}<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 */import SwiftUI
extension Color {
static let snow = Color(red: 1.000, green: 0.980, blue: 0.980)
}import androidx.compose.ui.graphics.Color
val Snow = Color(0xFFFFFAFA)import 'package:flutter/material.dart';
const snow = Color(0xFFFFFAFA);<!-- 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.