#cf38c8
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 | #cf38c8 | |
| RGB | rgb(207 56 200) | |
| HSL | hsl(302.78 61.13% 51.57%) | |
| OKLCH | oklch(0.62 0.24 330.05) | |
| CMYK | cmyk(0% 72.95% 3.38% 18.82%) | |
| Android | #ffcf38c8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.15:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.05: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="#cf38c8"
Gradient stop
<stop stop-color="#cf38c8"/>
CSS variable + fill
:root { --c: #cf38c8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf38c8; background-color: #cf38c8; bg-[#cf38c8]