#ab136d
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 | #ab136d | |
| RGB | rgb(171 19 109) | |
| HSL | hsl(324.47 80% 37.25%) | |
| OKLCH | oklch(0.49 0.19 351.85) | |
| CMYK | cmyk(0% 88.89% 36.26% 32.94%) | |
| Android | #ffab136d |
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="#ab136d"
Gradient stop
<stop stop-color="#ab136d"/>
CSS variable + fill
:root { --c: #ab136d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab136d; background-color: #ab136d; bg-[#ab136d]