#cb2997
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 | #cb2997 | |
| RGB | rgb(203 41 151) | |
| HSL | hsl(319.26 66.39% 47.84%) | |
| OKLCH | oklch(0.58 0.22 344.81) | |
| CMYK | cmyk(0% 79.8% 25.62% 20.39%) | |
| Android | #ffcb2997 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.30: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="#cb2997"
Gradient stop
<stop stop-color="#cb2997"/>
CSS variable + fill
:root { --c: #cb2997; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb2997; background-color: #cb2997; bg-[#cb2997]