#af334c
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 | #af334c | |
| RGB | rgb(175 51 76) | |
| HSL | hsl(347.9 54.87% 44.31%) | |
| OKLCH | oklch(0.51 0.16 13.18) | |
| CMYK | cmyk(0% 70.86% 56.57% 31.37%) | |
| Android | #ffaf334c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.40: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="#af334c"
Gradient stop
<stop stop-color="#af334c"/>
CSS variable + fill
:root { --c: #af334c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af334c; background-color: #af334c; bg-[#af334c]