#cd396d
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 | #cd396d | |
| RGB | rgb(205 57 109) | |
| HSL | hsl(338.92 59.68% 51.37%) | |
| OKLCH | oklch(0.58 0.19 3.99) | |
| CMYK | cmyk(0% 72.2% 46.83% 19.61%) | |
| Android | #ffcd396d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.40: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="#cd396d"
Gradient stop
<stop stop-color="#cd396d"/>
CSS variable + fill
:root { --c: #cd396d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd396d; background-color: #cd396d; bg-[#cd396d]