#d130d8
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 | #d130d8 | |
| RGB | rgb(209 48 216) | |
| HSL | hsl(297.5 68.29% 51.76%) | |
| OKLCH | oklch(0.63 0.26 326.24) | |
| CMYK | cmyk(3.24% 77.78% 0% 15.29%) | |
| Android | #ffd130d8 |
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="#d130d8"
Gradient stop
<stop stop-color="#d130d8"/>
CSS variable + fill
:root { --c: #d130d8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d130d8; background-color: #d130d8; bg-[#d130d8]