#d94dd4
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 | #d94dd4 | |
| RGB | rgb(217 77 212) | |
| HSL | hsl(302.14 64.81% 57.65%) | |
| OKLCH | oklch(0.66 0.23 329.28) | |
| CMYK | cmyk(0% 64.52% 2.3% 14.9%) | |
| Android | #ffd94dd4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.52:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.96: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="#d94dd4"
Gradient stop
<stop stop-color="#d94dd4"/>
CSS variable + fill
:root { --c: #d94dd4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d94dd4; background-color: #d94dd4; bg-[#d94dd4]