#ce028c
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 | #ce028c | |
| RGB | rgb(206 2 140) | |
| HSL | hsl(319.41 98.08% 40.78%) | |
| OKLCH | oklch(0.56 0.24 348.5) | |
| CMYK | cmyk(0% 99.03% 32.04% 19.22%) | |
| Android | #ffce028c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.23:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.01: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="#ce028c"
Gradient stop
<stop stop-color="#ce028c"/>
CSS variable + fill
:root { --c: #ce028c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ce028c; background-color: #ce028c; bg-[#ce028c]