#ab1949
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 | #ab1949 | |
| RGB | rgb(171 25 73) | |
| HSL | hsl(340.27 74.49% 38.43%) | |
| OKLCH | oklch(0.48 0.18 9.17) | |
| CMYK | cmyk(0% 85.38% 57.31% 32.94%) | |
| Android | #ffab1949 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.96:1
Fail AA normal text
Fail 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="#ab1949"
Gradient stop
<stop stop-color="#ab1949"/>
CSS variable + fill
:root { --c: #ab1949; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab1949; background-color: #ab1949; bg-[#ab1949]