#ce48cb
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 | #ce48cb | |
| RGB | rgb(206 72 203) | |
| HSL | hsl(301.34 57.76% 54.51%) | |
| OKLCH | oklch(0.63 0.22 328.74) | |
| CMYK | cmyk(0% 65.05% 1.46% 19.22%) | |
| Android | #ffce48cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.87:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.41: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="#ce48cb"
Gradient stop
<stop stop-color="#ce48cb"/>
CSS variable + fill
:root { --c: #ce48cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ce48cb; background-color: #ce48cb; bg-[#ce48cb]