#d52ebd
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 | #d52ebd | |
| RGB | rgb(213 46 189) | |
| HSL | hsl(308.62 66.53% 50.78%) | |
| OKLCH | oklch(0.62 0.24 334.96) | |
| CMYK | cmyk(0% 78.4% 11.27% 16.47%) | |
| Android | #ffd52ebd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.95: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="#d52ebd"
Gradient stop
<stop stop-color="#d52ebd"/>
CSS variable + fill
:root { --c: #d52ebd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d52ebd; background-color: #d52ebd; bg-[#d52ebd]