#cd306c
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 | #cd306c | |
| RGB | rgb(205 48 108) | |
| HSL | hsl(337.07 62.06% 49.61%) | |
| OKLCH | oklch(0.57 0.2 3.13) | |
| CMYK | cmyk(0% 76.59% 47.32% 19.61%) | |
| Android | #ffcd306c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23: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="#cd306c"
Gradient stop
<stop stop-color="#cd306c"/>
CSS variable + fill
:root { --c: #cd306c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd306c; background-color: #cd306c; bg-[#cd306c]