#c770bf
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 | #c770bf | |
| RGB | rgb(199 112 191) | |
| HSL | hsl(305.52 43.72% 60.98%) | |
| OKLCH | oklch(0.67 0.15 330.51) | |
| CMYK | cmyk(0% 43.72% 4.02% 21.96%) | |
| Android | #ffc770bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.49: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="#c770bf"
Gradient stop
<stop stop-color="#c770bf"/>
CSS variable + fill
:root { --c: #c770bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c770bf; background-color: #c770bf; bg-[#c770bf]