#cb42ae
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 | #cb42ae | |
| RGB | rgb(203 66 174) | |
| HSL | hsl(312.7 56.85% 52.75%) | |
| OKLCH | oklch(0.61 0.21 337.42) | |
| CMYK | cmyk(0% 67.49% 14.29% 20.39%) | |
| Android | #ffcb42ae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.25:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.92: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="#cb42ae"
Gradient stop
<stop stop-color="#cb42ae"/>
CSS variable + fill
:root { --c: #cb42ae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb42ae; background-color: #cb42ae; bg-[#cb42ae]