#d834cd
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 | #d834cd | |
| RGB | rgb(216 52 205) | |
| HSL | hsl(304.02 67.77% 52.55%) | |
| OKLCH | oklch(0.63 0.25 331.11) | |
| CMYK | cmyk(0% 75.93% 5.09% 15.29%) | |
| Android | #ffd834cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.96:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.29: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="#d834cd"
Gradient stop
<stop stop-color="#d834cd"/>
CSS variable + fill
:root { --c: #d834cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d834cd; background-color: #d834cd; bg-[#d834cd]