#cd4791
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 | #cd4791 | |
| RGB | rgb(205 71 145) | |
| HSL | hsl(326.87 57.26% 54.12%) | |
| OKLCH | oklch(0.6 0.18 349.9) | |
| CMYK | cmyk(0% 65.37% 29.27% 19.61%) | |
| Android | #ffcd4791 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.90:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cd4791"
Gradient stop
<stop stop-color="#cd4791"/>
CSS variable + fill
:root { --c: #cd4791; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd4791; background-color: #cd4791; bg-[#cd4791]