#c752d1
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 | #c752d1 | |
| RGB | rgb(199 82 209) | |
| HSL | hsl(295.28 57.99% 57.06%) | |
| OKLCH | oklch(0.64 0.21 324.48) | |
| CMYK | cmyk(4.78% 60.77% 0% 18.04%) | |
| Android | #ffc752d1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.77:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.55: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="#c752d1"
Gradient stop
<stop stop-color="#c752d1"/>
CSS variable + fill
:root { --c: #c752d1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c752d1; background-color: #c752d1; bg-[#c752d1]