#a2256f
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 | #a2256f | |
| RGB | rgb(162 37 111) | |
| HSL | hsl(324.48 62.81% 39.02%) | |
| OKLCH | oklch(0.49 0.17 349.39) | |
| CMYK | cmyk(0% 77.16% 31.48% 36.47%) | |
| Android | #ffa2256f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.03: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="#a2256f"
Gradient stop
<stop stop-color="#a2256f"/>
CSS variable + fill
:root { --c: #a2256f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a2256f; background-color: #a2256f; bg-[#a2256f]