#cd2487
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 | #cd2487 | |
| RGB | rgb(205 36 135) | |
| HSL | hsl(324.85 70.12% 47.25%) | |
| OKLCH | oklch(0.57 0.22 351.08) | |
| CMYK | cmyk(0% 82.44% 34.15% 19.61%) | |
| Android | #ffcd2487 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.00:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.19: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="#cd2487"
Gradient stop
<stop stop-color="#cd2487"/>
CSS variable + fill
:root { --c: #cd2487; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd2487; background-color: #cd2487; bg-[#cd2487]