#660a31
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 | #660a31 | |
| RGB | rgb(102 10 49) | |
| HSL | hsl(334.57 82.14% 21.96%) | |
| OKLCH | oklch(0.34 0.13 2.67) | |
| CMYK | cmyk(0% 90.2% 51.96% 60%) | |
| Android | #ff660a31 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.65: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="#660a31"
Gradient stop
<stop stop-color="#660a31"/>
CSS variable + fill
:root { --c: #660a31; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #660a31; background-color: #660a31; bg-[#660a31]