#cd96bd
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 | #cd96bd | |
| RGB | rgb(205 150 189) | |
| HSL | hsl(317.45 35.48% 69.61%) | |
| OKLCH | oklch(0.74 0.08 337.47) | |
| CMYK | cmyk(0% 26.83% 7.8% 19.61%) | |
| Android | #ffcd96bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.69: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="#cd96bd"
Gradient stop
<stop stop-color="#cd96bd"/>
CSS variable + fill
:root { --c: #cd96bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd96bd; background-color: #cd96bd; bg-[#cd96bd]