#cdafd2
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 | #cdafd2 | |
| RGB | rgb(205 175 210) | |
| HSL | hsl(291.43 28% 75.49%) | |
| OKLCH | oklch(0.79 0.06 321.47) | |
| CMYK | cmyk(2.38% 16.67% 0% 17.65%) | |
| Android | #ffcdafd2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.97:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.65: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="#cdafd2"
Gradient stop
<stop stop-color="#cdafd2"/>
CSS variable + fill
:root { --c: #cdafd2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cdafd2; background-color: #cdafd2; bg-[#cdafd2]