#cf2979
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 | #cf2979 | |
| RGB | rgb(207 41 121) | |
| HSL | hsl(331.08 66.94% 48.63%) | |
| OKLCH | oklch(0.57 0.21 357.41) | |
| CMYK | cmyk(0% 80.19% 41.55% 18.82%) | |
| Android | #ffcf2979 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.24: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="#cf2979"
Gradient stop
<stop stop-color="#cf2979"/>
CSS variable + fill
:root { --c: #cf2979; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf2979; background-color: #cf2979; bg-[#cf2979]