#cdc8d9
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 | #cdc8d9 | |
| RGB | rgb(205 200 217) | |
| HSL | hsl(257.65 18.28% 81.76%) | |
| OKLCH | oklch(0.84 0.02 299.3) | |
| CMYK | cmyk(5.53% 7.83% 0% 14.9%) | |
| Android | #ffcdc8d9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.63:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.85: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="#cdc8d9"
Gradient stop
<stop stop-color="#cdc8d9"/>
CSS variable + fill
:root { --c: #cdc8d9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cdc8d9; background-color: #cdc8d9; bg-[#cdc8d9]