#faf2ff
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #faf2ff | |
| RGB | rgb(250 242 255) | |
| HSL | hsl(276.92 100% 97.45%) | |
| OKLCH | oklch(0.97 0.02 312.8) | |
| CMYK | cmyk(1.96% 5.1% 0% 0%) | |
| Android | #fffaf2ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.09:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
19.20:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#faf2ff"
Gradient stop
<stop stop-color="#faf2ff"/>
CSS variable + fill
:root { --c: #faf2ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #faf2ff; background-color: #faf2ff; bg-[#faf2ff]