#ffcdf7
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 | #ffcdf7 | |
| RGB | rgb(255 205 247) | |
| HSL | hsl(309.6 100% 90.2%) | |
| OKLCH | oklch(0.9 0.08 331.69) | |
| CMYK | cmyk(0% 19.61% 3.14% 0%) | |
| Android | #ffffcdf7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.37:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.32: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="#ffcdf7"
Gradient stop
<stop stop-color="#ffcdf7"/>
CSS variable + fill
:root { --c: #ffcdf7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffcdf7; background-color: #ffcdf7; bg-[#ffcdf7]