#c417ba
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 | #c417ba | |
| RGB | rgb(196 23 186) | |
| HSL | hsl(303.47 79% 42.94%) | |
| OKLCH | oklch(0.58 0.25 331.14) | |
| CMYK | cmyk(0% 88.27% 5.1% 23.14%) | |
| Android | #ffc417ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17: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="#c417ba"
Gradient stop
<stop stop-color="#c417ba"/>
CSS variable + fill
:root { --c: #c417ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c417ba; background-color: #c417ba; bg-[#c417ba]