#a1287e
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 | #a1287e | |
| RGB | rgb(161 40 126) | |
| HSL | hsl(317.36 60.2% 39.41%) | |
| OKLCH | oklch(0.5 0.18 342.17) | |
| CMYK | cmyk(0% 75.16% 21.74% 36.86%) | |
| Android | #ffa1287e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.12: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="#a1287e"
Gradient stop
<stop stop-color="#a1287e"/>
CSS variable + fill
:root { --c: #a1287e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a1287e; background-color: #a1287e; bg-[#a1287e]