#FAFAFA
Tailwind zinc-50
#FAFAFA is a white colour. In RGB it is 250 red, 250 green and 250 blue, which converts to a hue of 0 degrees, 0% saturation and 98% lightness. It is Tailwind zinc-50 in that design system's palette.
Color values
| HEX | #FAFAFA |
|---|---|
| RGB | rgb(250, 250, 250) |
| HSL | hsl(0, 0%, 98%) |
| HSV | hsv(0, 0%, 98%) |
| CMYK | cmyk(0%, 0%, 0%, 2%) |
Contrast and accessibility
Against white the contrast ratio is 1.04:1, and against black it is 20.12:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.04:1 | Fail | Fail |
| Black | 20.12:1 | AAA | AAA |
Tints and shades
Lighter tints move #FAFAFA toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #FAFAFA; |
|---|---|
| CSS rgb() | color: rgb(250 250 250); |
| Tailwind | bg-[#fafafa] |
| SwiftUI | Color(red: 0.980, green: 0.980, blue: 0.980) |
| Android | Color.parseColor("#FAFAFA") |
Closest named color
The nearest CSS colour keyword to #FAFAFA is snow (#FFFAFA).