#ce308c
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 | #ce308c | |
| RGB | rgb(206 48 140) | |
| HSL | hsl(325.06 62.2% 49.8%) | |
| OKLCH | oklch(0.58 0.21 350.14) | |
| CMYK | cmyk(0% 76.7% 32.04% 19.22%) | |
| Android | #ffce308c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.42: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="#ce308c"
Gradient stop
<stop stop-color="#ce308c"/>
CSS variable + fill
:root { --c: #ce308c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ce308c; background-color: #ce308c; bg-[#ce308c]