#cf185d
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 | #cf185d | |
| RGB | rgb(207 24 93) | |
| HSL | hsl(337.38 79.22% 45.29%) | |
| OKLCH | oklch(0.56 0.21 7.24) | |
| CMYK | cmyk(0% 88.41% 55.07% 18.82%) | |
| Android | #ffcf185d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.32:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.94: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="#cf185d"
Gradient stop
<stop stop-color="#cf185d"/>
CSS variable + fill
:root { --c: #cf185d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf185d; background-color: #cf185d; bg-[#cf185d]