#c772bf
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 | #c772bf | |
| RGB | rgb(199 114 191) | |
| HSL | hsl(305.65 43.15% 61.37%) | |
| OKLCH | oklch(0.67 0.14 330.54) | |
| CMYK | cmyk(0% 42.71% 4.02% 21.96%) | |
| Android | #ffc772bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.58: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="#c772bf"
Gradient stop
<stop stop-color="#c772bf"/>
CSS variable + fill
:root { --c: #c772bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c772bf; background-color: #c772bf; bg-[#c772bf]