#cf2873
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 | #cf2873 | |
| RGB | rgb(207 40 115) | |
| HSL | hsl(333.05 67.61% 48.43%) | |
| OKLCH | oklch(0.57 0.21 359.76) | |
| CMYK | cmyk(0% 80.68% 44.44% 18.82%) | |
| Android | #ffcf2873 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.99:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.20: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="#cf2873"
Gradient stop
<stop stop-color="#cf2873"/>
CSS variable + fill
:root { --c: #cf2873; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf2873; background-color: #cf2873; bg-[#cf2873]