#cf03b3
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 | #cf03b3 | |
| RGB | rgb(207 3 179) | |
| HSL | hsl(308.24 97.14% 41.18%) | |
| OKLCH | oklch(0.58 0.26 336.13) | |
| CMYK | cmyk(0% 98.55% 13.53% 18.82%) | |
| Android | #ffcf03b3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.31: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="#cf03b3"
Gradient stop
<stop stop-color="#cf03b3"/>
CSS variable + fill
:root { --c: #cf03b3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf03b3; background-color: #cf03b3; bg-[#cf03b3]