#d04dea
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 | #d04dea | |
| RGB | rgb(208 77 234) | |
| HSL | hsl(290.06 78.89% 60.98%) | |
| OKLCH | oklch(0.66 0.24 320.56) | |
| CMYK | cmyk(11.11% 67.09% 0% 8.24%) | |
| Android | #ffd04dea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.54:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.93: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="#d04dea"
Gradient stop
<stop stop-color="#d04dea"/>
CSS variable + fill
:root { --c: #d04dea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d04dea; background-color: #d04dea; bg-[#d04dea]