#c545bf
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 | #c545bf | |
| RGB | rgb(197 69 191) | |
| HSL | hsl(302.81 52.46% 52.16%) | |
| OKLCH | oklch(0.61 0.21 329.74) | |
| CMYK | cmyk(0% 64.97% 3.05% 22.75%) | |
| Android | #ffc545bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.21:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.97: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="#c545bf"
Gradient stop
<stop stop-color="#c545bf"/>
CSS variable + fill
:root { --c: #c545bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c545bf; background-color: #c545bf; bg-[#c545bf]