#d02adb
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 | #d02adb | |
| RGB | rgb(208 42 219) | |
| HSL | hsl(296.27 71.08% 51.18%) | |
| OKLCH | oklch(0.62 0.27 325.27) | |
| CMYK | cmyk(5.02% 80.82% 0% 14.12%) | |
| Android | #ffd02adb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#d02adb"
Gradient stop
<stop stop-color="#d02adb"/>
CSS variable + fill
:root { --c: #d02adb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d02adb; background-color: #d02adb; bg-[#d02adb]