#ca30ba
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 | #ca30ba | |
| RGB | rgb(202 48 186) | |
| HSL | hsl(306.23 61.6% 49.02%) | |
| OKLCH | oklch(0.6 0.23 332.85) | |
| CMYK | cmyk(0% 76.24% 7.92% 20.78%) | |
| Android | #ffca30ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.64: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="#ca30ba"
Gradient stop
<stop stop-color="#ca30ba"/>
CSS variable + fill
:root { --c: #ca30ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca30ba; background-color: #ca30ba; bg-[#ca30ba]