#c72eba
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 | #c72eba | |
| RGB | rgb(199 46 186) | |
| HSL | hsl(305.1 62.45% 48.04%) | |
| OKLCH | oklch(0.59 0.24 331.98) | |
| CMYK | cmyk(0% 76.88% 6.53% 21.96%) | |
| Android | #ffc72eba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass 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="#c72eba"
Gradient stop
<stop stop-color="#c72eba"/>
CSS variable + fill
:root { --c: #c72eba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c72eba; background-color: #c72eba; bg-[#c72eba]