#f0ccda
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 | #f0ccda | |
| RGB | rgb(240 204 218) | |
| HSL | hsl(336.67 54.55% 87.06%) | |
| OKLCH | oklch(0.88 0.04 352.65) | |
| CMYK | cmyk(0% 15% 9.17% 5.88%) | |
| Android | #fff0ccda |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.46:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.35: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="#f0ccda"
Gradient stop
<stop stop-color="#f0ccda"/>
CSS variable + fill
:root { --c: #f0ccda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0ccda; background-color: #f0ccda; bg-[#f0ccda]