#a02240
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 | #a02240 | |
| RGB | rgb(160 34 64) | |
| HSL | hsl(345.71 64.95% 38.04%) | |
| OKLCH | oklch(0.47 0.16 12.94) | |
| CMYK | cmyk(0% 78.75% 60% 37.25%) | |
| Android | #ffa02240 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.79: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="#a02240"
Gradient stop
<stop stop-color="#a02240"/>
CSS variable + fill
:root { --c: #a02240; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a02240; background-color: #a02240; bg-[#a02240]