#c028c3
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 | #c028c3 | |
| RGB | rgb(192 40 195) | |
| HSL | hsl(298.84 65.96% 46.08%) | |
| OKLCH | oklch(0.58 0.24 327.27) | |
| CMYK | cmyk(1.54% 79.49% 0% 23.53%) | |
| Android | #ffc028c3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.33: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="#c028c3"
Gradient stop
<stop stop-color="#c028c3"/>
CSS variable + fill
:root { --c: #c028c3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c028c3; background-color: #c028c3; bg-[#c028c3]