#cf548c
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 | #cf548c | |
| RGB | rgb(207 84 140) | |
| HSL | hsl(332.68 56.16% 57.06%) | |
| OKLCH | oklch(0.62 0.17 354.64) | |
| CMYK | cmyk(0% 59.42% 32.37% 18.82%) | |
| Android | #ffcf548c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.96:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.29: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="#cf548c"
Gradient stop
<stop stop-color="#cf548c"/>
CSS variable + fill
:root { --c: #cf548c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf548c; background-color: #cf548c; bg-[#cf548c]