#d351cd
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 | #d351cd | |
| RGB | rgb(211 81 205) | |
| HSL | hsl(302.77 59.63% 57.25%) | |
| OKLCH | oklch(0.65 0.22 329.59) | |
| CMYK | cmyk(0% 61.61% 2.84% 17.25%) | |
| Android | #ffd351cd |
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="#d351cd"
Gradient stop
<stop stop-color="#d351cd"/>
CSS variable + fill
:root { --c: #d351cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d351cd; background-color: #d351cd; bg-[#d351cd]