#cca8cd
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 | #cca8cd | |
| RGB | rgb(204 168 205) | |
| HSL | hsl(298.38 27.01% 73.14%) | |
| OKLCH | oklch(0.78 0.07 325.34) | |
| CMYK | cmyk(0.49% 18.05% 0% 19.61%) | |
| Android | #ffcca8cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.08:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.05: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="#cca8cd"
Gradient stop
<stop stop-color="#cca8cd"/>
CSS variable + fill
:root { --c: #cca8cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cca8cd; background-color: #cca8cd; bg-[#cca8cd]