#d52dda
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 | #d52dda | |
| RGB | rgb(213 45 218) | |
| HSL | hsl(298.27 70.04% 51.57%) | |
| OKLCH | oklch(0.63 0.26 326.84) | |
| CMYK | cmyk(2.29% 79.36% 0% 14.51%) | |
| Android | #ffd52dda |
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.21: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="#d52dda"
Gradient stop
<stop stop-color="#d52dda"/>
CSS variable + fill
:root { --c: #d52dda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d52dda; background-color: #d52dda; bg-[#d52dda]