#af19ab
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 | #af19ab | |
| RGB | rgb(175 25 171) | |
| HSL | hsl(301.6 75% 39.22%) | |
| OKLCH | oklch(0.53 0.23 329.5) | |
| CMYK | cmyk(0% 85.71% 2.29% 31.37%) | |
| Android | #ffaf19ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.54: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="#af19ab"
Gradient stop
<stop stop-color="#af19ab"/>
CSS variable + fill
:root { --c: #af19ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af19ab; background-color: #af19ab; bg-[#af19ab]