#d428db
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 | #d428db | |
| RGB | rgb(212 40 219) | |
| HSL | hsl(297.65 71.31% 50.78%) | |
| OKLCH | oklch(0.63 0.27 326.37) | |
| CMYK | cmyk(3.2% 81.74% 0% 14.12%) | |
| Android | #ffd428db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.12: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="#d428db"
Gradient stop
<stop stop-color="#d428db"/>
CSS variable + fill
:root { --c: #d428db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d428db; background-color: #d428db; bg-[#d428db]