#d54dd2
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 | #d54dd2 | |
| RGB | rgb(213 77 210) | |
| HSL | hsl(301.32 61.82% 56.86%) | |
| OKLCH | oklch(0.65 0.23 328.69) | |
| CMYK | cmyk(0% 63.85% 1.41% 16.47%) | |
| Android | #ffd54dd2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.60:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.82: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="#d54dd2"
Gradient stop
<stop stop-color="#d54dd2"/>
CSS variable + fill
:root { --c: #d54dd2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d54dd2; background-color: #d54dd2; bg-[#d54dd2]