#cd308f
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 | #cd308f | |
| RGB | rgb(205 48 143) | |
| HSL | hsl(323.69 62.06% 49.61%) | |
| OKLCH | oklch(0.58 0.21 348.72) | |
| CMYK | cmyk(0% 76.59% 30.24% 19.61%) | |
| Android | #ffcd308f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.41: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="#cd308f"
Gradient stop
<stop stop-color="#cd308f"/>
CSS variable + fill
:root { --c: #cd308f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd308f; background-color: #cd308f; bg-[#cd308f]