#cf407c
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 | #cf407c | |
| RGB | rgb(207 64 124) | |
| HSL | hsl(334.83 59.83% 53.14%) | |
| OKLCH | oklch(0.59 0.19 358.8) | |
| CMYK | cmyk(0% 69.08% 40.1% 18.82%) | |
| Android | #ffcf407c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.67:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cf407c"
Gradient stop
<stop stop-color="#cf407c"/>
CSS variable + fill
:root { --c: #cf407c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf407c; background-color: #cf407c; bg-[#cf407c]