#f0a7fa
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 | #f0a7fa | |
| RGB | rgb(240 167 250) | |
| HSL | hsl(292.77 89.25% 81.76%) | |
| OKLCH | oklch(0.83 0.14 322.48) | |
| CMYK | cmyk(4% 33.2% 0% 1.96%) | |
| Android | #fff0a7fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.80:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.61: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="#f0a7fa"
Gradient stop
<stop stop-color="#f0a7fa"/>
CSS variable + fill
:root { --c: #f0a7fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0a7fa; background-color: #f0a7fa; bg-[#f0a7fa]