#cb508e
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 | #cb508e | |
| RGB | rgb(203 80 142) | |
| HSL | hsl(329.76 54.19% 55.49%) | |
| OKLCH | oklch(0.61 0.17 351.92) | |
| CMYK | cmyk(0% 60.59% 30.05% 20.39%) | |
| Android | #ffcb508e |
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.07: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="#cb508e"
Gradient stop
<stop stop-color="#cb508e"/>
CSS variable + fill
:root { --c: #cb508e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb508e; background-color: #cb508e; bg-[#cb508e]