#cb277c
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 | #cb277c | |
| RGB | rgb(203 39 124) | |
| HSL | hsl(328.9 67.77% 47.45%) | |
| OKLCH | oklch(0.57 0.21 355.11) | |
| CMYK | cmyk(0% 80.79% 38.92% 20.39%) | |
| Android | #ffcb277c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.12: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="#cb277c"
Gradient stop
<stop stop-color="#cb277c"/>
CSS variable + fill
:root { --c: #cb277c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb277c; background-color: #cb277c; bg-[#cb277c]