#cb508f
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 | #cb508f | |
| RGB | rgb(203 80 143) | |
| HSL | hsl(329.27 54.19% 55.49%) | |
| OKLCH | oklch(0.61 0.17 351.44) | |
| CMYK | cmyk(0% 60.59% 29.56% 20.39%) | |
| Android | #ffcb508f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.08: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="#cb508f"
Gradient stop
<stop stop-color="#cb508f"/>
CSS variable + fill
:root { --c: #cb508f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb508f; background-color: #cb508f; bg-[#cb508f]