#c401bd
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 | #c401bd | |
| RGB | rgb(196 1 189) | |
| HSL | hsl(302.15 98.98% 38.63%) | |
| OKLCH | oklch(0.57 0.26 330.31) | |
| CMYK | cmyk(0% 99.49% 3.57% 23.14%) | |
| Android | #ffc401bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.08: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="#c401bd"
Gradient stop
<stop stop-color="#c401bd"/>
CSS variable + fill
:root { --c: #c401bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c401bd; background-color: #c401bd; bg-[#c401bd]