#cd2698
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 | #cd2698 | |
| RGB | rgb(205 38 152) | |
| HSL | hsl(319.04 68.72% 47.65%) | |
| OKLCH | oklch(0.58 0.22 344.87) | |
| CMYK | cmyk(0% 81.46% 25.85% 19.61%) | |
| Android | #ffcd2698 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.32:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cd2698"
Gradient stop
<stop stop-color="#cd2698"/>
CSS variable + fill
:root { --c: #cd2698; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd2698; background-color: #cd2698; bg-[#cd2698]