#cc38da
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 | #cc38da | |
| RGB | rgb(204 56 218) | |
| HSL | hsl(294.81 68.64% 53.73%) | |
| OKLCH | oklch(0.62 0.25 324.16) | |
| CMYK | cmyk(6.42% 74.31% 0% 14.51%) | |
| Android | #ffcc38da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.08:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.14: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="#cc38da"
Gradient stop
<stop stop-color="#cc38da"/>
CSS variable + fill
:root { --c: #cc38da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc38da; background-color: #cc38da; bg-[#cc38da]