#af2bc6
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 | #af2bc6 | |
| RGB | rgb(175 43 198) | |
| HSL | hsl(291.1 64.32% 47.25%) | |
| OKLCH | oklch(0.56 0.24 321.08) | |
| CMYK | cmyk(11.62% 78.28% 0% 22.35%) | |
| Android | #ffaf2bc6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.98: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="#af2bc6"
Gradient stop
<stop stop-color="#af2bc6"/>
CSS variable + fill
:root { --c: #af2bc6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af2bc6; background-color: #af2bc6; bg-[#af2bc6]