#cf185b
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 | #cf185b | |
| RGB | rgb(207 24 91) | |
| HSL | hsl(338.03 79.22% 45.29%) | |
| OKLCH | oklch(0.55 0.21 8.02) | |
| CMYK | cmyk(0% 88.41% 56.04% 18.82%) | |
| Android | #ffcf185b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.93: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="#cf185b"
Gradient stop
<stop stop-color="#cf185b"/>
CSS variable + fill
:root { --c: #cf185b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf185b; background-color: #cf185b; bg-[#cf185b]