#cb0972
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 | #cb0972 | |
| RGB | rgb(203 9 114) | |
| HSL | hsl(327.53 91.51% 41.57%) | |
| OKLCH | oklch(0.55 0.22 357.54) | |
| CMYK | cmyk(0% 95.57% 43.84% 20.39%) | |
| Android | #ffcb0972 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.82: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="#cb0972"
Gradient stop
<stop stop-color="#cb0972"/>
CSS variable + fill
:root { --c: #cb0972; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb0972; background-color: #cb0972; bg-[#cb0972]