#cf027e
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 | #cf027e | |
| RGB | rgb(207 2 126) | |
| HSL | hsl(323.71 98.09% 40.98%) | |
| OKLCH | oklch(0.56 0.23 353.76) | |
| CMYK | cmyk(0% 99.03% 39.13% 18.82%) | |
| Android | #ffcf027e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.96: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="#cf027e"
Gradient stop
<stop stop-color="#cf027e"/>
CSS variable + fill
:root { --c: #cf027e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf027e; background-color: #cf027e; bg-[#cf027e]