#d950d3
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 | #d950d3 | |
| RGB | rgb(217 80 211) | |
| HSL | hsl(302.63 64.32% 58.24%) | |
| OKLCH | oklch(0.66 0.22 329.56) | |
| CMYK | cmyk(0% 63.13% 2.76% 14.9%) | |
| Android | #ffd950d3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.03: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="#d950d3"
Gradient stop
<stop stop-color="#d950d3"/>
CSS variable + fill
:root { --c: #d950d3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d950d3; background-color: #d950d3; bg-[#d950d3]