#cf005f
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 | #cf005f | |
| RGB | rgb(207 0 95) | |
| HSL | hsl(332.46 100% 40.59%) | |
| OKLCH | oklch(0.55 0.22 5.38) | |
| CMYK | cmyk(0% 100% 54.11% 18.82%) | |
| Android | #ffcf005f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.81: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="#cf005f"
Gradient stop
<stop stop-color="#cf005f"/>
CSS variable + fill
:root { --c: #cf005f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf005f; background-color: #cf005f; bg-[#cf005f]