#af4fa8
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 | #af4fa8 | |
| RGB | rgb(175 79 168) | |
| HSL | hsl(304.38 37.8% 49.8%) | |
| OKLCH | oklch(0.58 0.17 330.32) | |
| CMYK | cmyk(0% 54.86% 4% 31.37%) | |
| Android | #ffaf4fa8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.50: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="#af4fa8"
Gradient stop
<stop stop-color="#af4fa8"/>
CSS variable + fill
:root { --c: #af4fa8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af4fa8; background-color: #af4fa8; bg-[#af4fa8]