#af108f
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 | #af108f | |
| RGB | rgb(175 16 143) | |
| HSL | hsl(312.08 83.25% 37.45%) | |
| OKLCH | oklch(0.51 0.22 339.12) | |
| CMYK | cmyk(0% 90.86% 18.29% 31.37%) | |
| Android | #ffaf108f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.37:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.29: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="#af108f"
Gradient stop
<stop stop-color="#af108f"/>
CSS variable + fill
:root { --c: #af108f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af108f; background-color: #af108f; bg-[#af108f]