#c512bf
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 | #c512bf | |
| RGB | rgb(197 18 191) | |
| HSL | hsl(302.01 83.26% 42.16%) | |
| OKLCH | oklch(0.58 0.26 329.98) | |
| CMYK | cmyk(0% 90.86% 3.05% 22.75%) | |
| Android | #ffc512bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.98:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.21:1
Fail 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="#c512bf"
Gradient stop
<stop stop-color="#c512bf"/>
CSS variable + fill
:root { --c: #c512bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c512bf; background-color: #c512bf; bg-[#c512bf]