#d30cb8
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 | #d30cb8 | |
| RGB | rgb(211 12 184) | |
| HSL | hsl(308.14 89.24% 43.73%) | |
| OKLCH | oklch(0.6 0.26 335.72) | |
| CMYK | cmyk(0% 94.31% 12.8% 17.25%) | |
| Android | #ffd30cb8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.51:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#d30cb8"
Gradient stop
<stop stop-color="#d30cb8"/>
CSS variable + fill
:root { --c: #d30cb8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d30cb8; background-color: #d30cb8; bg-[#d30cb8]