#d545a5
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 | #d545a5 | |
| RGB | rgb(213 69 165) | |
| HSL | hsl(320 63.16% 55.29%) | |
| OKLCH | oklch(0.62 0.2 343.78) | |
| CMYK | cmyk(0% 67.61% 22.54% 16.47%) | |
| Android | #ffd545a5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.22: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="#d545a5"
Gradient stop
<stop stop-color="#d545a5"/>
CSS variable + fill
:root { --c: #d545a5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d545a5; background-color: #d545a5; bg-[#d545a5]