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