#af388a
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 | #af388a | |
| RGB | rgb(175 56 138) | |
| HSL | hsl(318.66 51.52% 45.29%) | |
| OKLCH | oklch(0.54 0.18 342.5) | |
| CMYK | cmyk(0% 68% 21.14% 31.37%) | |
| Android | #ffaf388a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.75: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="#af388a"
Gradient stop
<stop stop-color="#af388a"/>
CSS variable + fill
:root { --c: #af388a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af388a; background-color: #af388a; bg-[#af388a]