#c027bb
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 | #c027bb | |
| RGB | rgb(192 39 187) | |
| HSL | hsl(301.96 66.23% 45.29%) | |
| OKLCH | oklch(0.58 0.24 329.64) | |
| CMYK | cmyk(0% 79.69% 2.6% 24.71%) | |
| Android | #ffc027bb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.24: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="#c027bb"
Gradient stop
<stop stop-color="#c027bb"/>
CSS variable + fill
:root { --c: #c027bb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c027bb; background-color: #c027bb; bg-[#c027bb]