#cb2f86
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 | #cb2f86 | |
| RGB | rgb(203 47 134) | |
| HSL | hsl(326.54 62.4% 49.02%) | |
| OKLCH | oklch(0.58 0.21 351.69) | |
| CMYK | cmyk(0% 76.85% 33.99% 20.39%) | |
| Android | #ffcb2f86 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.29: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="#cb2f86"
Gradient stop
<stop stop-color="#cb2f86"/>
CSS variable + fill
:root { --c: #cb2f86; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb2f86; background-color: #cb2f86; bg-[#cb2f86]