#d319dc
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 | #d319dc | |
| RGB | rgb(211 25 220) | |
| HSL | hsl(297.23 79.59% 48.04%) | |
| OKLCH | oklch(0.62 0.28 325.99) | |
| CMYK | cmyk(4.09% 88.64% 0% 13.73%) | |
| Android | #ffd319dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.94: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="#d319dc"
Gradient stop
<stop stop-color="#d319dc"/>
CSS variable + fill
:root { --c: #d319dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d319dc; background-color: #d319dc; bg-[#d319dc]