#cf2791
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 | #cf2791 | |
| RGB | rgb(207 39 145) | |
| HSL | hsl(322.14 68.29% 48.24%) | |
| OKLCH | oklch(0.58 0.22 347.97) | |
| CMYK | cmyk(0% 81.16% 29.95% 18.82%) | |
| Android | #ffcf2791 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.35: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="#cf2791"
Gradient stop
<stop stop-color="#cf2791"/>
CSS variable + fill
:root { --c: #cf2791; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf2791; background-color: #cf2791; bg-[#cf2791]