#cb178e
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 | #cb178e | |
| RGB | rgb(203 23 142) | |
| HSL | hsl(320.33 79.65% 44.31%) | |
| OKLCH | oklch(0.56 0.23 347.45) | |
| CMYK | cmyk(0% 88.67% 30.05% 20.39%) | |
| Android | #ffcb178e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.18:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.05: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="#cb178e"
Gradient stop
<stop stop-color="#cb178e"/>
CSS variable + fill
:root { --c: #cb178e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb178e; background-color: #cb178e; bg-[#cb178e]