#af174a
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 | #af174a | |
| RGB | rgb(175 23 74) | |
| HSL | hsl(339.87 76.77% 38.82%) | |
| OKLCH | oklch(0.49 0.18 9.26) | |
| CMYK | cmyk(0% 86.86% 57.71% 31.37%) | |
| Android | #ffaf174a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.04: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="#af174a"
Gradient stop
<stop stop-color="#af174a"/>
CSS variable + fill
:root { --c: #af174a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #af174a; background-color: #af174a; bg-[#af174a]