#d348dc
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 | #d348dc | |
| RGB | rgb(211 72 220) | |
| HSL | hsl(296.35 67.89% 57.25%) | |
| OKLCH | oklch(0.65 0.24 325.31) | |
| CMYK | cmyk(4.09% 67.27% 0% 13.73%) | |
| Android | #ffd348dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.66:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.73: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="#d348dc"
Gradient stop
<stop stop-color="#d348dc"/>
CSS variable + fill
:root { --c: #d348dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d348dc; background-color: #d348dc; bg-[#d348dc]