#cf2770
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 | #cf2770 | |
| RGB | rgb(207 39 112) | |
| HSL | hsl(333.93 68.29% 48.24%) | |
| OKLCH | oklch(0.57 0.21 0.89) | |
| CMYK | cmyk(0% 81.16% 45.89% 18.82%) | |
| Android | #ffcf2770 |
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="#cf2770"
Gradient stop
<stop stop-color="#cf2770"/>
CSS variable + fill
:root { --c: #cf2770; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf2770; background-color: #cf2770; bg-[#cf2770]